tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cross-origin-top-navigation-without-user-activation.window.js (291B)


      1 async_test(t => {
      2  addEventListener('message', t.step_func_done(e => {
      3    assert_equals(e.data, 'Denied');
      4  }));
      5  const w = open("resources/page-with-top-navigating-iframe.html");
      6  t.add_cleanup(() => {w.close()});
      7 
      8 }, "Cross-origin top navigation is blocked without user activation");