Bugzilla – Bug 16111
drop use of DOMStringList
Last modified: 2013-08-08 13:26:58 UTC
On Fri, Feb 24, 2012 at 3:39 AM, Anne van Kesteren <email@example.com> wrote:
>There's currently only a few APIs that use DOMStringList in the platform and we are in the process of >replacing them all with using arrays instead. As they are all relatively new and not widely stable yet this >should not pose a big problem we think. Document.styleSheetSets is one of five places that uses >DOMStringList and it would be great if that could be changed to DOMString instead.
>The DOM standard carries a warning on using DOMStringList for now, but we plan on dropping it in due >course unless something unforeseen comes up.
(In reply to comment #1)
what is the status of implementations use of DOMString vs DOMStringList?
Reopening for <http://www.w3.org/mid/517944BA.firstname.lastname@example.org>
(In reply to comment #2)
> what is the status of implementations use of DOMString vs DOMStringList?
Opera/Safari/Chrome/IE10 don't support document.styleSheetSets, so it should be OK to change it as far as Web compat goes.
Firefox supports document.styleSheetSets and returns DOMTokenList.