Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/base/test/chrome/chrome.toml
<?xml version="1.0"?>
<!--
-->
  <!-- test results are displayed in the html:body -->
  </body>
  <!-- test code goes here -->
  <script type="application/javascript"><![CDATA[
  SimpleTest.waitForExplicitFinish();
  let xhr = new XMLHttpRequest();
  xhr.responseType = "document";
  xhr.open("GET", "data:text/xml,<xml");
  ok(xhr.channel !== undefined, "System XHRs should be privileged");
  xhr.onload = () => {
    ok(xhr.responseXML !== null, "System XHRs should yield <parsererrors>");
    SimpleTest.finish();
  };
  xhr.send();
  ]]></script>
</window>