DescriptionImplement IDBVersionChangeEvent ctor w/ IDBVersionChangeEventInit dict
A rarely used part of the IndexedDB spec was overlooked - like most
other events, script can call the constructor with a dict to populate
the fields.
This required some finessing: the fields were stored as 'IDBAny'
but our automagical code gen wiring for EventInit prefers ScriptValue
or SerializedScriptValue. I went with the latter, and as an aside
eliminate a call to v8::Isolate::GetCurrent() by SSV - serializing
simple values such as null or numbers can be done with no isolate.
BUG=345881
R=dgrogan,haraken
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168162
Patch Set 1 #
Total comments: 5
Patch Set 2 : Rebase, handle null, and simplify #
Total comments: 4
Patch Set 3 : Rebased #Messages
Total messages: 18 (0 generated)
|