[Webkit-unassigned] [Bug 62288] IndexedDB createObjectStore should throw if key path contains a space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 01:12:35 PDT 2011


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





--- Comment #10 from Kentaro Hara <haraken at google.com>  2011-06-21 01:12:35 PST ---
I found that storage/indexeddb/keypath-as-array.html fails in this patch because the current keypath parser does not support an array of keypath. The reason why the previous code passes keypath-as-array.html is just that the previous code did not at all check |keypath| argument of createObjectStore() (i.e. if an array ['foo', 'bar'] is passed to |keypath|, it is converted to a string "['foo', 'bar']" and the string is registered as a keypath of the created ObjectStore, without being checked if the string is a valid keypath or not). 

As far as I see, the current ObjectStore implementation does not support multiple keypaths in the first place. Thus, I would like to remove keypath-as-array.html in another patch (https://bugs.webkit.org/show_bug.cgi?id=63054) and then come back to this bug again.

-- 
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