- From: François Daoust <notifications@github.com>
- Date: Sun, 23 Jan 2022 05:44:28 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 23 January 2022 13:44:40 UTC
Section [3.3.8 `[Global]`](https://webidl.spec.whatwg.org/#Global) says that "The `[Global]` extended attribute must be one of the forms given above". I understand the forms to be either "takes an identifier" or "takes an identifier list". However, the [`[Global]` example](https://webidl.spec.whatwg.org/#example-2e291568) shows a definition without identifier: ``` [Exposed=Window, Global] interface Window {}; ``` If I understand the spec correctly, that should be fixed to: ``` [Exposed=Window, Global=Window] interface Window {}; ``` (... which matches how [the interface is defined in HTML](https://html.spec.whatwg.org/multipage/window-object.html#the-window-object)) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1087 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1087@github.com>
Received on Sunday, 23 January 2022 13:44:40 UTC