Skip to content

Commit 212ab17

Browse files
committed
scope handling fix (wip)
1 parent 51a4824 commit 212ab17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/htmlunit/javascript/host/Window.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ public void setLocation(final String newLocation) throws IOException {
666666
@JsxFunction({FF, FF_ESR})
667667
public void dump(final String message) {
668668
final WebConsole console = getWebWindow().getWebClient().getWebConsole();
669-
console.print(Context.getCurrentContext(), this, Level.INFO, new String[] {message}, null);
669+
console.print(Context.getCurrentContext(), getParentScope(), Level.INFO, new String[] {message}, null);
670670
}
671671

672672
/**

0 commit comments

Comments
 (0)