[heycam/webidl] Annotations for what may throw (#603)

Should add `[Throws]` to WebIDL? This is a Mozilla-specific extended attribute which indicates which operations may throw. @fitzgen commented to me that this is very useful for [web-sys](https://rustwasm.github.io/wasm-bindgen/web-sys/index.html), the wasm-bindgen component which Rust WebAssembly uses to call WebIDL APIs.

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

Received on Thursday, 20 December 2018 09:31:57 UTC