tor-browser

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

navigate-ancestor-top-level-fenced-frame.https.html (994B)


      1 <!DOCTYPE html>
      2 <title>Test navigating an ancestor frame from a fenced frame</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script src="/resources/testdriver.js"></script>
      6 <script src="/resources/testdriver-actions.js"></script>
      7 <script src="/resources/testdriver-vendor.js"></script>
      8 <script src="/common/utils.js"></script>
      9 <script src="/common/dispatcher/dispatcher.js"></script>
     10 <script src="/common/get-host-info.sub.js"></script>
     11 <script src="resources/utils.js"></script>
     12 <script src="resources/navigate-ancestor-helper.js"></script>
     13 
     14 <body>
     15 <script>
     16 promise_test(async t => {
     17  await runNavigateAncestorTest("top-level fenced frame", "parent");
     18 }, "Top-level fenced frames that navigate _parent end up navigating themselves");
     19 
     20 promise_test(async t => {
     21  await runNavigateAncestorTest("top-level fenced frame", "top");
     22 }, "Top-level fenced frames that navigate _top end up navigating themselves");
     23 </script>
     24 
     25 </body>