You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This defines an object which is supposed to be a global (hence Global=AnimationWorklet) but has a Constructor, so you can create multiple of them in a given global?
The IDL spec explicitly says for [Global]:
The [Global] extended attribute must not be used on an interface that can have more than one object implementing it in the same Realm.
which means it's not really compatible with [Constructor]. I filed whatwg/webidl#744 to make that very explicit.
Anyway, is this object constructible or a global? It can't really be both.
The text was updated successfully, but these errors were encountered:
I was reading through https://drafts.css-houdini.org/css-animationworklet-1/ and the IDL global/exposure bits don't make any sense to me. For example, the draft has:
This defines an object which is supposed to be a global (hence
Global=AnimationWorklet
) but has aConstructor
, so you can create multiple of them in a given global?The IDL spec explicitly says for
[Global]
:which means it's not really compatible with
[Constructor]
. I filed whatwg/webidl#744 to make that very explicit.Anyway, is this object constructible or a global? It can't really be both.
The text was updated successfully, but these errors were encountered: