idlharness.any.js (743B)
1 // META: global=dedicatedworker,shadowrealm-in-window 2 // META: script=/resources/WebIDLParser.js 3 // META: script=/resources/idlharness.js 4 5 "use strict"; 6 7 idl_test( 8 ["html"], 9 ["wai-aria", "dom", "cssom", "touch-events", "uievents", "performance-timeline"], 10 idlArray => { 11 if (self.GLOBAL.isShadowRealm()) { 12 return; 13 } 14 15 idlArray.add_untested_idls('typedef Window WindowProxy;'); 16 idlArray.add_objects({ 17 WorkerLocation: ['self.location'], 18 WorkerNavigator: ['self.navigator'], 19 EventSource: ['new EventSource("http://invalid")'], 20 Worker: [], 21 MessageEvent: ['new MessageEvent("message", { data: 5 })'], 22 DedicatedWorkerGlobalScope: ['self'], 23 Origin: ['new Origin()'], 24 }); 25 } 26 );