Closed Bug 1868039 Opened 2 years ago Closed 2 years ago

A custom element adopted into a different document loses its prototype

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 120
defect

Tracking

()

RESOLVED DUPLICATE of bug 1502814

People

(Reporter: sorvell, Unassigned)

Details

When a customized custom element is adopted into a different document, it loses its prototype. This causes it to become non-functional and generate errors.

Reproduction (see errors in console): https://lit.dev/playground/#gist=03eb37d7edb0cccb916a72f237a533ab.

This likely seems related to https://bugzilla.mozilla.org/show_bug.cgi?id=465767

More like a dup of bug 1502814 (the patch there was updated quite recently, see https://phabricator.services.mozilla.com/D171526 )
Please reopen if you think this is not the same bug.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1502814
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.