Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(8)

Issue 1184503003: IndexedDB: Array-type keypaths should not be returned as DOMStringLists (Closed)

Created:
4 years, 10 months ago by jsbell
Modified:
4 years, 10 months ago
Reviewers:
haraken, philipj_slow
CC:
blink-reviews, arv+blink, vivekg_samsung, vivekg, dgrogan, cmumford, blink-reviews-bindings_chromium.org, jsbell+idb_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

IndexedDB: Array-type keypaths should not be returned as DOMStringLists Spec (and Gecko) return plain Array objects when inspecting key paths via an IDBIndex's keyPath attributed. This was never specified or documented to return a DOMStringList. It looks like it fell out of Blink's use of an IDBAny variant type for IDL 'any', and was not changed when keypath-specific bindings code was added. BUG=499998 R=philipj@opera.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197064

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M LayoutTests/storage/indexeddb/keypath-arrays-expected.txt View 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/storage/indexeddb/resources/keypath-arrays.js View 1 chunk +4 lines, -1 line 0 comments Download
M Source/bindings/modules/v8/V8BindingForModules.cpp View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
jsbell
philipj@ - please take a look? I'm reasonably confident that no-one will be using the ...
4 years, 10 months ago (2015-06-12 20:57:33 UTC) #1
philipj_slow
LGTM, this seems low risk given Gecko's behavior and general obscurity. It would need a ...
4 years, 10 months ago (2015-06-12 21:30:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184503003/1
4 years, 10 months ago (2015-06-12 22:06:40 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=197064
4 years, 10 months ago (2015-06-12 22:17:46 UTC) #5
haraken
4 years, 10 months ago (2015-06-13 00:42:32 UTC) #6
Message was sent while issue was closed.
bindings/ LGTM

Powered by Google App Engine
This is Rietveld 408576698