- From: <bugzilla@jessica.w3.org>
- Date: Sun, 14 Jul 2013 12:44:07 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22665 Bug ID: 22665 Summary: Wrong example for [TreatNonCallableAsNull] Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: WebIDL Assignee: cam@mcc.id.au Reporter: dchris@gmail.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-script-coord@w3.org In the section for [TreatNonCallableAsNull]*, it looks to me that the example is wrong and that the handler1 / handler2 are reversed. handler1 has type 'OccurrenceHandler?', which has [TreatNonCallableAsNull] extended attribute so it should not throw when 123 is assigned to it. However, the handler2 case should probably throw. * http://dev.w3.org/2006/webapi/WebIDL/#TreatNonCallableAsNull -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Sunday, 14 July 2013 12:44:09 UTC