Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Issue 2837373002: Indexed DB: Remove unnecessary defaults for optional args (Closed)

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

Description

Indexed DB: Remove unnecessary defaults for optional args Blink's bindings generation code didn't used to treat trailing undefined parameters the same as missing for overload resolution. To handle getAll(query, undefined) the same as getAll(query) - a pattern used commonly in parameterized test cases - we specified a default value for the second parameter in the IDL. That's no longer necessary, and we can let the overload do that in the implementation. (The bindings fix happened over a year ago but I missed it!) R=haraken@chromium.org BUG=335871 TEST=external/wpt/IndexedDB/idb*_getAll*.html Review-Url: https://codereview.chromium.org/2837373002 Cr-Commit-Position: refs/heads/master@{#467375} Committed: https://chromium.googlesource.com/chromium/src/+/458671c24ea47bec9940f1db3034b711a78d5e8c

Patch Set 1 #

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -12 lines) Patch
M third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl View 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl View 1 chunk +4 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (16 generated)
jsbell
haraken@ - please take a look? (and cq if lg?)
3 years, 8 months ago (2017-04-25 22:10:13 UTC) #10
haraken
LGTM
3 years, 8 months ago (2017-04-26 00:48:57 UTC) #13
commit-bot: I haz the power
This CL has an open dependency (Issue 2840893002 Patch 40001). Please resolve the dependency and ...
3 years, 8 months ago (2017-04-26 00:49:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837373002/20001
3 years, 8 months ago (2017-04-26 17:29:43 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 17:53:17 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/458671c24ea47bec9940f1db3034...

Powered by Google App Engine
This is Rietveld 408576698