- From: Boris Zbarsky <notifications@github.com>
- Date: Wed, 07 Oct 2015 17:24:58 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 8 October 2015 00:25:29 UTC
The current IDL spec is defined purely in terms of [[Call]] and does not in fact say to throw on calls without new. @travisleithead's reading in https://github.com/heycam/webidl/issues/62#issue-110316748 is correct as far as the current spec goes; step 5 is precisely "do the prose here". There's a very longstanding spec issue to fix this: <https://www.w3.org/Bugs/Public/show_bug.cgi?id=22808>. It hasn't happened yet because for a while it wasn't quite clear what the fixed spec should say exactly to produce the desired effect, and then there was a lack of editing bandwidth. I'm sorry the spec here doesn't say the right thing, but I believe the right thing is in fact to throw when called without `new`. --- Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/62#issuecomment-146378261
Received on Thursday, 8 October 2015 00:25:29 UTC