- From: <bugzilla@jessica.w3.org>
- Date: Fri, 03 Feb 2012 12:39:07 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15864 Summary: [IndexedDB] Array as key, avoid array loops Product: WebAppsWG Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Indexed Database API AssignedTo: dave.null@w3.org ReportedBy: odinho@opera.com QAContact: member-webapi-cvs@w3.org CC: mike@w3.org, public-webapps@w3.org > Note that Arrays that contain other Arrays are allowed as valid keys. > In this case the algorithm above runs recursively when comparing the > individual values in the arrays. http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct Using an array embedding itself makes a loop, the spec doesn't clarify how to deal with that. var a = []; a[0] = a; I guess you wouldn't want to /recurse/ two of those to find which is biggest ;-) -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Friday, 3 February 2012 12:39:09 UTC