[Webkit-unassigned] [Bug 36089] Web SQL: SQLResultSetRowList does not support indexing of rows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 20 05:49:49 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36089





--- Comment #4 from Chris K <colanderman at gmail.com>  2010-09-20 05:49:49 PST ---
The row object is *not* an array -- it is an object whose keys are the database column names:

"Each row must be represented by a native ordered dictionary data type. In the JavaScript binding, this must be Object. Each row object must have one property (or dictionary entry) per column, with those properties enumerating in the order that these columns were returned by the database. Each property must have the name of the column and the value of the cell, as they were returned by the database."

Opera behaves correctly; run the test case in it and it gives a "0" (correct output).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list