tor-browser

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

navigate-ancestor-nested-fenced-frame.https.html (1037B)


      1 <!DOCTYPE html>
      2 <title>Test navigating an ancestor frame from a nested 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  // location.href = "resources/embeddee.html";
     18  await runNavigateAncestorTest("nested fenced frame", "parent");
     19 }, "Nested fenced frames that navigate _parent end up navigating themselves");
     20 
     21 promise_test(async t => {
     22  await runNavigateAncestorTest("nested fenced frame", "top");
     23 }, "Nested fenced frames that navigate _top end up navigating themselves");
     24 </script>
     25 
     26 </body>