- From: Boris Zbarsky <notifications@github.com>
- Date: Wed, 26 Jun 2019 17:11:42 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 27 June 2019 00:12:05 UTC
Today I saw this in a spec draft:
```
[Exposed=AnimationWorklet, Global=AnimationWorklet, Constructor
(optional any options
)]
interface StatelessAnimator {
};
```
which is nonsense: `[Constructor]` means you can create the things, and `[Global]` means there is only one of it per Realm, and it's the global. We already have prose saying:
> The [Global] extended attribute must not be used on an interface that can have more than one object implementing it in the same Realm.
but we should explicitly disallow using `[Global]` and `[Constructor]` together.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/744
Received on Thursday, 27 June 2019 00:12:05 UTC