Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/main/java/org/htmlunit/WebWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,20 @@ public interface WebWindow extends Serializable {
*/
WebWindow getTopWindow();

/**
* Returns the top-level scope associated with this window, used for
* JavaScript execution context.
*
* @return the top-level scope for this window
*/
TopLevel getTopLevelScope();

/**
* Sets the top-level scope associated with this window, used for
* JavaScript execution context.
*
* @param topLevelScope the top-level scope to associate with this window
*/
void setTopLevelScope(TopLevel topLevelScope);

/**
Expand Down