DescriptionIndexedDB: Replace IDL operation overloading with ScriptValue handling
The IDB spec has many IDL methods that take |any key| and in prose
have "if key is not a valid key or IDBKeyRange, throw; otherwise ...";
these ended up being implemented incrementally in Blink using
overloads in the IDL and .h/.cpp, and counting on nonstandard overload
handling in the code generator.
Update the Blink IDLs to mostly match the spec IDLs, and do the
ScriptValue to IDBKey or IDBKeyRange conversion via explicit calls to
a binding helper. This simplifies the IDL and implementations, and
will make future additions easier.
No behavior changes.
R=haraken@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156716
Patch Set 1 #Patch Set 2 : Retrying upload #Patch Set 3 : Rename and fix method documentation #
Total comments: 17
Patch Set 4 : Remove assert, per review feedback #Messages
Total messages: 5 (0 generated)
|