Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/dom/idlharness.any.shadowrealm-in-window.html - WPT Dashboard Interop Dashboard
- /html/dom/idlharness.any.worker.html - WPT Dashboard Interop Dashboard
// 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'],
Worker: [],
MessageEvent: ['new MessageEvent("message", { data: 5 })'],
DedicatedWorkerGlobalScope: ['self'],
});
}
);