Commit 8e6aeb0a authored by Yoav Weiss's avatar Yoav Weiss Committed by aborovova@mozilla.com
Browse files

Bug 1966364 [wpt PR 52531] - Remove COOP noopener-allow-popups null check, as it is not standard,

Automatic update from web-platform-tests
Remove coop noopener null check, as it is not standard (#52531)

--

wpt-commits: cf76f3198ba2ab212f82b9b57e511bfd9254c910
wpt-pr: 52531

Differential Revision: https://phabricator.services.mozilla.com/D250183
parent 2b58ff21
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -121,8 +121,9 @@ const test_noopener_navigating_away = (popup_coop) => {
    assert_equals(await receive(reply_token), 'Popup loaded');
    t.add_cleanup(() => send(popup_token, 'window.close()'));

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

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