[heycam/webidl] refactor: Convert the `unrestricted` keyword into an extended attribute (#857)

Pre‑requisite for <https://github.com/heycam/webidl/issues/843> and <https://github.com/heycam/webidl/pull/856>.


I decided to go with `[UnrestrictedFloat]` instead of `[LegacyUnrestricted]`, as the latter implies that it applies to non‑decimal types as well.

That and there are valid non‑legacy reasons to allow non‑finite floating point values, specifically for Math APIs.
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/857


-- Commit Summary --

  * feat: Convert the `unrestricted` keyword into an extended attribute

-- File Changes --

    M index.bs (248)

-- Patch Links --

https://github.com/heycam/webidl/pull/857.patch

https://github.com/heycam/webidl/pull/857.diff


-- 
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/pull/857

Received on Wednesday, 18 March 2020 14:35:13 UTC