[Bug 16103] Remove DOMStringList usage

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16103

--- Comment #18 from Jonas Sicking <jonas@sicking.cc> 2012-03-13 03:27:21 UTC ---
The two seems very different.

First off, making DOMStringList a [NoInterfaceObject] only affects code which
explicitly messes around with the 'DOMStringList' global object. Messing around
with prototype objects is still a relatively rare thing to do, especially for a
rarely used interface like DOMStringList (I've only ever seen people do it with
Node-related interfaces, though I'm sure others exist).

Second, changing DOMStringList to DOMString[] right now is *not* a backwards
compatible operation given that you loose the .contains function (until ES6
grows that function).

Third, at least in gecko we don't yet have support for [] in our binding code
at all. I.e. we never map in Array methods anywhere on the prototype chain.


So yes, I would say it's quite a bigger change.

-- 
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 Tuesday, 13 March 2012 03:27:26 UTC