;
}, 'A constructor with only a scoped custom element registry definition should fail upon construction');

test(() => {
    class CElement extends HTMLElement { };
    const scopedRegistry = new CustomElementRegistry;
    scopedRegistry.define('scoped-c', CElement);
    customElements.define('global-c', CElement);
    const cElement = new CElement;
    assert_equals(cElement.localName, 'global-c');
}, 'A constructor uses the global registry to create an element');

test(() => {
    let fgElement;
    let h