Skip to content

Commit

Permalink
WindowProperties returns WindowProxy for named <iframe>s
Browse files Browse the repository at this point in the history
Follow-up of #27970.
  • Loading branch information
shvaikalesh committed May 20, 2021
1 parent d4e0947 commit 2877f0a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@
}, "constructor");
test(function() {
var gsp = Object.getPrototypeOf(Object.getPrototypeOf(window));
assert_equals(gsp.baz, document.getElementsByTagName("iframe")[1]);
assert_equals(gsp.baz, document.getElementsByTagName("iframe")[1].contentWindow);
}, "duplicate property names")
var t = async_test("Dynamic name")
var t2 = async_test("Ghost name")
Expand Down

0 comments on commit 2877f0a

Please sign in to comment.