[heycam/webidl] Use RangeError rather than TypeError for enum mismatch (#489)

As per https://lists.w3.org/Archives/Public/public-script-coord/2013JulSep/0330.html this is a mismatch with JavaScript. Fixing this is a little risky, but we've successfully changed exception types in the past which makes me hopeful.

cc @littledan 

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

Received on Wednesday, 6 December 2017 11:34:12 UTC