W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12299] The (normative and non-normative) assertion that tokenlist.item(index) / tokenlist[index] returns null for index>=length appears to be in conflict with WebIDL, at least for the index property case; afaict WebIDL requires that index property getters throw

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Mar 2011 13:27:30 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Pz7o2-00010H-LK@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12299

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> 2011-03-14 13:27:29 UTC ---
Can they?  No sites depending on the current behavior?

Throwing for out-of-bounds access on nodelist, btw, is _definitely_ not
web-compatible.  Dunno about token list.

-- 
Configure bugmail: http://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, 14 March 2011 13:27:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 March 2011 13:28:30 GMT