Skip to content

Commit a333255

Browse files
Add missing Javadoc in WebWindow (see ##1107)
1 parent 280b6e5 commit a333255

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/main/java/org/htmlunit/WebWindow.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,20 @@ public interface WebWindow extends Serializable {
7676
*/
7777
WebWindow getTopWindow();
7878

79+
/**
80+
* Returns the top-level scope associated with this window, used for
81+
* JavaScript execution context.
82+
*
83+
* @return the top-level scope for this window
84+
*/
7985
TopLevel getTopLevelScope();
86+
87+
/**
88+
* Sets the top-level scope associated with this window, used for
89+
* JavaScript execution context.
90+
*
91+
* @param topLevelScope the top-level scope to associate with this window
92+
*/
8093
void setTopLevelScope(TopLevel topLevelScope);
8194

8295
/**

0 commit comments

Comments
 (0)