tor-browser

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

xml-stylesheet-blocking.xhtml (940B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <?xml-stylesheet type="text/css" href="support/simple-style.css?pipe=trickle(d2)"?>
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5    <script><![CDATA[
      6      window.observedZIndex = getComputedStyle(document.documentElement).zIndex;
      7    ]]></script>
      8    <title>xml-stylesheet blocks script execution and rendering</title>
      9    <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1986042" />
     10    <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io" />
     11    <link rel="author" title="Mozilla" href="https://mozilla.org" />
     12    <script src="/resources/testharness.js"/>
     13    <script src="/resources/testharnessreport.js"/>
     14  </head>
     15  <body>
     16    <script><![CDATA[
     17    test(function() {
     18      assert_equals(window.observedZIndex, "3", "XML processing instruction should've blocked script execution and rendering");
     19    });
     20    ]]></script>
     21  </body>
     22 </html>