tor-browser

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

doc-event-breakpoints-fission.html (874B)


      1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      2   - License, v. 2.0. If a copy of the MPL was not distributed with this
      3   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      4 <!DOCTYPE html>
      5 <html>
      6  <head>
      7    <meta charset="utf-8"/>
      8    <title>Debugger event bp fission test page</title>
      9    <script>
     10      function reloadIframe() {
     11        return new Promise(resolve => {
     12          const iframe = document.querySelector("iframe");
     13          iframe.addEventListener("load", () => resolve(), { once: true });
     14          iframe.setAttribute("src", iframe.getAttribute("src"));
     15        });
     16      }
     17        setTimeout(() => console.log("timeout fired"), 0)
     18    </script>
     19  </head>
     20  <body>
     21    <iframe src="https://example.org/browser/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html"></iframe>
     22  </body>
     23 </html>