tor-browser

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

sframe-transform-readable.html (580B)


      1 <!doctype html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <script src="/resources/testharness.js"></script>
      6        <script src="/resources/testharnessreport.js"></script>
      7    </head>
      8    <body>
      9        <iframe src="." id="frame"></iframe>
     10        <script>
     11 promise_test(async (test) => {
     12    const frameDOMException = frame.contentWindow.DOMException;
     13    const transform = new frame.contentWindow.SFrameTransform;
     14    frame.remove();
     15    assert_throws_dom("InvalidStateError", frameDOMException, () => transform.readable);
     16 });
     17       </script>
     18    </body>
     19 </html>