Commit 929c9a0f authored by Anne van Kesteren's avatar Anne van Kesteren Committed by aborovova@mozilla.com
Browse files

Bug 1966879 [wpt PR 52563] - Remove a second non-standard coop noopener null check,

Automatic update from web-platform-tests
Remove a second non-standard coop noopener null check (#52563)

cf76f3198b missed this.
--

wpt-commits: 8fe01e6388b2afc70e82ac548003c600f4c0c58e
wpt-pr: 52563

Differential Revision: https://phabricator.services.mozilla.com/D250223
parent 1035e2ec
Loading
Loading
Loading
Loading
+2 −1
Changes for testing/web-platform/tests/html/cross-origin-opener-policy/resources/noopener-helper.js: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -157,7 +157,8 @@ const test_noopener_navigating_away = (popup_coop) => {
    `);
    assert_equals(await receive(reply_token), 'popup navigated away');

    assert_equals(popup.window, null);
    // There's an open question if we should check that popup.window is null here.
    // See https://github.com/whatwg/html/issues/10457
    assert_true(popup.closed, 'popup.closed');
  },
  'noopener-allow-popups ensures that the opener cannot script the openee,' +