From a3332551d0de6f6bc0fb98643953565b4b1f1e73 Mon Sep 17 00:00:00 2001 From: Zaheer Ahmad <129817147+ZaheerAhmadDev@users.noreply.github.com> Date: Sun, 5 Apr 2026 09:17:20 +0500 Subject: [PATCH] Add missing Javadoc in WebWindow (see ##1107) --- src/main/java/org/htmlunit/WebWindow.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/org/htmlunit/WebWindow.java b/src/main/java/org/htmlunit/WebWindow.java index 87efedccac..72cd9c0438 100644 --- a/src/main/java/org/htmlunit/WebWindow.java +++ b/src/main/java/org/htmlunit/WebWindow.java @@ -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); /**