[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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12299

--- Comment #5 from James Graham <jgraham@opera.com> 2011-03-14 13:48:57 UTC ---
Right, I think the spec is *confusing* but I no longer think it is wrong except
for the non-normative text which is very misleading about how out-of-bounds
index access will work.

I don't think it is worth trying to change the null/undefined thing; given the
subtlety of their distinction, any solution will feel wrong, so we may as well
just go for what is already implemented.

-- 
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:48:59 UTC