1
0
Fork 0
firefox/testing/web-platform/tests/html/dom/idlharness.any.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

25 lines
711 B
JavaScript

// META: global=dedicatedworker,shadowrealm-in-window
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
"use strict";
idl_test(
["html"],
["wai-aria", "dom", "cssom", "touch-events", "uievents", "performance-timeline"],
idlArray => {
if (self.GLOBAL.isShadowRealm()) {
return;
}
idlArray.add_untested_idls('typedef Window WindowProxy;');
idlArray.add_objects({
WorkerLocation: ['self.location'],
WorkerNavigator: ['self.navigator'],
EventSource: ['new EventSource("http://invalid")'],
Worker: [],
MessageEvent: ['new MessageEvent("message", { data: 5 })'],
DedicatedWorkerGlobalScope: ['self'],
});
}
);