[heycam/webidl] Change the recommended language for DOMExceptions (#247)

See: https://github.com/whatwg/html/issues/1176 (also https://github.com/w3c/IndexedDB/issues/124).

Suggested changes to https://heycam.github.io/webidl/#idl-exceptions :

- Remove quotation marks around the simple exceptions and maybe use emu-val for them too
- Maybe remove Error from that list, and note that it's reserved for developer-created errors (similar to how SyntaxError is reserved for JS parser errors)
- Change "Exceptions can be created by providing its error name." to something spelling out that for simple exceptions you provide the name and for DOMExceptions you say DOMException + the name in quotes.
- Change all the examples; also add more cross-links to them and fix their typography

-- 
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/247

Received on Thursday, 8 December 2016 00:33:18 UTC