tor-browser

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

responseXML-unavailable-in-worker.js (419B)


      1 self.importScripts('/resources/testharness.js');
      2 
      3 test(function() {
      4    let xhr = new XMLHttpRequest();
      5    assert_false(xhr.hasOwnProperty("responseXML"), "responseXML should not be available on instances.");
      6    assert_false(XMLHttpRequest.prototype.hasOwnProperty("responseXML"), "responseXML should not be on the prototype.");
      7 }, "XMLHttpRequest's responseXML property should not be exposed in workers.");
      8 
      9 done();