Re: [heycam/webidl] Why do we have super-permissive ExtendedAttribute grammar? (#574)

The [Browser Extensions] spec tried to add `[Identifier="string"]` style extended attribute which is grammatically allowed but not legal.

```webidl
[CheckAnyPermissions="browserExt"]
interface BrowserExtGlobal {
    readonly attribute Browser browser;
};
```

This is causing a weird situation where webidl2.js somehow thinks it's legal and parses it, and then ReSpec throws because it doesn't know about that style.

-- 
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/574#issuecomment-406520527

Received on Friday, 20 July 2018 08:02:11 UTC