W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22391] Sequence or Array

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Jul 2013 20:14:56 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22391-3890-vOOBXigKJ2@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22391

Domenic Denicola <domenic@domenicdenicola.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domenic@domenicdenicola.com

--- Comment #7 from Domenic Denicola <domenic@domenicdenicola.com> ---
One thing to watch out for is to avoid situations where `myDOMThing.arrayProp
!== myDOMThing.arrayProp`. This would occur if you specify properties as having
getters that always return fresh arrays (or that return new, frozen arrays that
represent mutable underlying data).

If you need a non-mutable view into data that could change over time, a method
returning a (non-frozen, snapshot) array seems best to me.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 10 July 2013 20:14:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC