DescriptionScriptPromise should check the constructor paraemter.
ScriptPromise::ScriptPromise(v8::Handle<v8::Value>, v8::Isolate*) expects
that the first parameter is a Promise object, but no one checks that.
This CL fixes that.
Rename ScriptPromise::ScriptPromise(ScriptValue) to ScriptPromise::cast to
avoid the confusion caused by the diferrent behaviors with a non-Promise parameter.
BUG=347047
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168462
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Patch Set 4 : rebase #Patch Set 5 : rebase #
Messages
Total messages: 25 (0 generated)
|