tor-browser

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

idlharness.https.window.js (499B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 
      4 'use strict';
      5 
      6 // https://immersive-web.github.io/dom-overlays/
      7 
      8 idl_test(
      9  ['webxr-dom-overlays'],
     10  ['webxr', 'html', 'dom', 'SVG'],
     11  async idl_array => {
     12    self.svgElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
     13    idl_array.add_objects({
     14      Document: ['document'],
     15      HTMLElement: ['document.body'],
     16      SVGElement: ['svgElement'],
     17      Window: ['window']
     18    });
     19  }
     20 );