tor-browser

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

idlharness.any.js (639B)


      1 // META: global=worker,shadowrealm-in-window
      2 // META: script=/resources/WebIDLParser.js
      3 // META: script=/resources/idlharness.js
      4 // META: timeout=long
      5 
      6 // Note: This test doesn't cover the Window context, see idlharness.window.js
      7 // for that coverage and why it can't be merged into this test.
      8 
      9 'use strict';
     10 
     11 idl_test(
     12  ['dom'],
     13  ['html'],
     14  idl_array => {
     15    idl_array.add_objects({
     16      EventTarget: ['new EventTarget()'],
     17      Event: ['new Event("foo")'],
     18      CustomEvent: ['new CustomEvent("foo")'],
     19      AbortController: ['new AbortController()'],
     20      AbortSignal: ['new AbortController().signal'],
     21    });
     22  }
     23 );
     24 
     25 done();