Summary: | IndexedDB: Key paths should support non-ASCII identifiers | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joshua Bell <jsbell> | ||||||||
Component: | WebCore Misc. | Assignee: | Joshua Bell <jsbell> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | alecflett, dgrogan, haraken, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Joshua Bell
2012-10-09 12:17:36 PDT
Created attachment 168072 [details]
Patch
dgrogan@, alecflett@ - can you take a look? Created attachment 168097 [details]
Patch
Updated patch fixes escaping and adds invalid keypath tests (other Unicode categories as initial/trailing identifier characters) +haraken@ who wrote implemented the current lexer And note that I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=19450 about an edge case (reserved words being excluded - FF doesn't and I don't think it should be required) Also, I did not add additional cases to WebKit/chromium/tests/IDBKeyPathTest.cpp - it seemed redundant with the layout test once the basic API was exercised from C++. Comment on attachment 168097 [details]
Patch
LGTM
After looking at 3.1.5 Key Path in the idb spec and taking a cursory glance at ecma-262, this seems reasonable.
haraken@ - r? Comment on attachment 168097 [details]
Patch
Looks OK
Created attachment 168734 [details]
Patch for landing
Comment on attachment 168734 [details] Patch for landing Clearing flags on attachment: 168734 Committed r131356: <http://trac.webkit.org/changeset/131356> All reviewed patches have been landed. Closing bug. |