- From: <bugzilla@jessica.w3.org>
- Date: Mon, 25 Jun 2012 18:31:41 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17593 Summary: Figure out if something needs to be said about [[Construct]] Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: WebIDL AssignedTo: cam@mcc.id.au ReportedBy: Ms2ger@gmail.com QAContact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-script-coord@w3.org * Ms2ger tries to figure out what kind of error new window.ImageData(1,1) should throw <bz> ms2ger: doesn't the spec say? <Ms2ger> I'm not sure <bz> ah <bz> one sec <Ms2ger> [[Construct]] doesn't appear in normative prose in WebIDL <bz> " Interfaces that do not have a constructor will throw an exception when called as a function. " <bz> mmmm <Ms2ger> Only, I'm not sure if it needs to <bz> oh, hmm <bz> it defines a [[Call]] <Ms2ger> Yeah <bz> that might be a spec bug <Ms2ger> Looking at http://ecma-international.org/ecma-262/5.1/#sec-11.2.2 <bz> and even the [[Call]] doesn't say what exception is thrown <bz> just "an exception" <Ms2ger> "If constructor does not implement the [[Construct]] internal method, throw a TypeError exception." <bz> mmm <bz> yeah <bz> please file bugs on webidl Cameron, please figure it out :) -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Monday, 25 June 2012 18:31:45 UTC