- From: Boris Zbarsky <notifications@github.com>
- Date: Thu, 03 Nov 2016 09:40:45 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 3 November 2016 16:41:24 UTC
bzbarsky 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. > Not sure if a constructor ever does that It doesn't even have to be the constructor itself. For example, step 4 (invoking the overload resolution algorithm) can trigger arbitrary page-provided code which can throw whatever the page wants. In general, so can step 5, if the constructor takes an `object` argument and pokes at it in any way. -- 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 16:41:24 UTC