The "is already an interface prototype object" check is wrong

NEW
Unassigned

Status

()

Core
DOM
3 years ago
3 years ago

People

(Reporter: bz, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 8518263 [details]
Testcase for the "proto for a custom element" bit

It doesn't consider cases when protoObject is a cross-compartment wrapper for a Web IDL interface.

It also doesn't consider cases when it's already registered as a proto for a custom element.
Blocks: 811542
You need to log in before you can comment on or make changes to this bug.