performance-timeline icon indicating copy to clipboard operation
performance-timeline copied to clipboard

`PerformanceObserver.supportedEntryTypes`can't be annotated with `[SameObject]`

Open petervanderbeken opened this issue 10 months ago • 7 comments

The supportedEntryTypes attribute has a FrozenArray type. [SameObject] is only valid if the attribute's type is an interface or object, see https://webidl.spec.whatwg.org/#SameObject:

The [SameObject] extended attribute must not be used on anything other than a read only attribute whose type is an interface type or object.

petervanderbeken avatar Apr 18 '24 21:04 petervanderbeken