implement equivalent of WebDocument::registerEmbedderCustomElement in Gecko
Per the WebIDL spec, document.registerElement requires custom element names to contain a dash. But the Electron <webview> element doesn't contain one, because Electron uses the Blink API WebDocument::registerEmbedderCustomElement to register it. We should implement a similar API for Gecko, so Positron can register <webview> and other elements that don't have dashes in them.
@brendandahl If you have cycles, this would be useful to tackle.
Yeah, I'll take a look in a bit. Fixing a bug on spidernode atm.
Hacky way to do this: https://github.com/brendandahl/positron/commit/78db7db098571898bc4d5fbc06420e3e577b72d7
Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=1276363