Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 14 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /custom-elements/revamped-scoped-registry/idlharness.tentative.window.html - WPT Dashboard Interop Dashboard
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: global=window,dedicatedworker,shadowrealm-in-window
idl_test(
["scoped-custom-elements-registry.tentative"],
["html", "dom"],
(idl_array) => {
let element = document.createElement("div");
let shadowRoot = element.attachShadow({ mode: "open" });
let customElementRegistry = new CustomElementRegistry();
let templateElement = document.createElement("template");
idl_array.add_objects({
document,
element,
shadowRoot,
customElementRegistry,
templateElement,
});
},
);