Chromium Code Reviews
DescriptionIndexed 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 #
Depends on Patchset: Messages
Total messages: 21 (16 generated)
|
||||||||||||||||||||||||||||