Re: [heycam/webidl] Throw when not calling interfaces as constructors (#205)

tobie commented on this pull request.



> @@ -10316,18 +10318,14 @@ an exception when called as a function.
         [=overload resolution algorithm=].
     1.  Let |R| be the result of performing the actions listed in the description of
         |constructor| with |values| as the argument values.
-    1.  Return the result of [=converted to an ECMAScript value|converting=]
+    1.  Rethrow any [=exception=] thrown in the previous step.

Don't [simple exceptions](https://heycam.github.io/webidl/#dfn-simple-exception) englobe all of the ES errors that can be thrown at runtime?

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

Received on Thursday, 3 November 2016 15:56:36 UTC