W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

[Bug 27428] [ArrayClass] should serialize as an array by default

From: <bugzilla@jessica.w3.org>
Date: Tue, 25 Nov 2014 15:58:26 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27428-3890-iW2wwEEgPT@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27428

Domenic Denicola <d@domenic.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d@domenic.me

--- Comment #4 from Domenic Denicola <d@domenic.me> ---
JSON.stringify is indeed the easy way to fix this.

The alternate fix is to make DOMRectList a proper Array subclass. Browsers
don't support subclassing arrays yet though, except the IE 12 preview.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 25 November 2014 15:58:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC