Bug 90798 - IndexedDB: Empty arrays shouldn't be valid key paths
Summary: IndexedDB: Empty arrays shouldn't be valid key paths
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joshua Bell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 10:26 PDT by Joshua Bell
Modified: 2012-07-09 12:04 PDT (History)
4 users (show)

See Also:


Attachments
Patch (7.58 KB, patch)
2012-07-09 10:57 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Bell 2012-07-09 10:26:52 PDT
Pending spec update discussed at:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17657

Passing an empty array as a key path to createIndex() or createObjectStore() should throw SyntaxError.
Comment 1 Joshua Bell 2012-07-09 10:57:12 PDT
Created attachment 151279 [details]
Patch
Comment 2 Joshua Bell 2012-07-09 10:57:39 PDT
alecflett@, dgrogan@ - take a look?

tony@ - r?
Comment 3 Alec Flett 2012-07-09 11:06:59 PDT
Comment on attachment 151279 [details]
Patch

LGTM
Comment 4 WebKit Review Bot 2012-07-09 12:04:21 PDT
Comment on attachment 151279 [details]
Patch

Clearing flags on attachment: 151279

Committed r122127: <http://trac.webkit.org/changeset/122127>
Comment 5 WebKit Review Bot 2012-07-09 12:04:25 PDT
All reviewed patches have been landed.  Closing bug.