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

Issue 1158973007: IndexedDB: Rely on bindings for enum validation (Closed)

Created:
4 years, 11 months ago by jsbell
Modified:
4 years, 11 months ago
Reviewers:
cmumford
CC:
blink-reviews, jsbell+idb_chromium.org, dgrogan, cmumford
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

IndexedDB: Rely on bindings for enum validation When bindings grew enum support, a DOMString -> IDBCursorDirection update was missed for IDBObjectStore's openCursor() method. Also, now that generated code verifies enum values, remove the failure cases from stringToXXX() methods. BUG=358067 R=cmumford@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196358

Patch Set 1 #

Patch Set 2 : Minimize diff #

Patch Set 3 : Minimize diff #

Total comments: 3

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -27 lines) Patch
M LayoutTests/storage/indexeddb/exceptions-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/storage/indexeddb/objectstore-cursor-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBCursor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBCursor.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.cpp View 1 chunk +6 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBIndex.cpp View 2 chunks +2 lines, -8 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.cpp View 2 chunks +2 lines, -8 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBTransaction.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBTransaction.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
jsbell
cmumford@ - please take a look? https://codereview.chromium.org/1158973007/diff/40001/LayoutTests/storage/indexeddb/exceptions-expected.txt File LayoutTests/storage/indexeddb/exceptions-expected.txt (right): https://codereview.chromium.org/1158973007/diff/40001/LayoutTests/storage/indexeddb/exceptions-expected.txt#newcode275 LayoutTests/storage/indexeddb/exceptions-expected.txt:275: PASS store.openCursor(0, 'invalid-direction') ...
4 years, 11 months ago (2015-06-02 19:01:08 UTC) #1
cmumford
lgtm
4 years, 11 months ago (2015-06-02 21:05:56 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158973007/40001
4 years, 11 months ago (2015-06-02 22:23:11 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/34381)
4 years, 11 months ago (2015-06-02 22:29:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158973007/60001
4 years, 11 months ago (2015-06-02 22:32:29 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2015-06-02 23:53:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196358

Powered by Google App Engine
This is Rietveld 408576698