- From: <bugzilla@jessica.w3.org>
- Date: Sun, 08 Jul 2012 17:11:13 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17719
Summary: Consider throwing when attribute getters are called
without an argument.
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
Object.getOwnPropertyDescriptor(Node.prototype, "nodeValue").set.call(node/*,
no arguments */)
The spec treats the argument as undefined, and Gecko's new DOM bindings follow
the spec. If I'm not mistaken, IE10 throws an exception. I slightly prefer
throwing for consistency with operations.
--
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 Sunday, 8 July 2012 17:11:15 UTC