Skip to content

Commit cf76f31

Browse files
authored
Remove coop noopener null check, as it is not standard (#52531)
1 parent 180c27c commit cf76f31

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

html/cross-origin-opener-policy/resources/noopener-helper.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ const test_noopener_navigating_away = (popup_coop) => {
121121
assert_equals(await receive(reply_token), 'Popup loaded');
122122
t.add_cleanup(() => send(popup_token, 'window.close()'));
123123

124-
// Assert that we can script the popup.
125-
assert_not_equals(popup.window, null, 'can script the popup');
124+
// There's an open question if we should check that popup.window is null here.
125+
// See https://github.com/whatwg/html/issues/10457
126+
// Assert that we cannot script the popup.
126127
assert_false(popup.closed, 'popup closed');
127128

128129
// Ensure that the popup has no access to its opener.

0 commit comments

Comments
 (0)