DescriptionService Worker: Correct Web IDL of ExtendableEvent.waitUntil method.
As per the spec, ExtendableEvent.waitUntil() method's argument should be of type
Promise<any> instead of any. For the non-promise value, the Web IDL
automatically casts it to a promise via Promise.resolve. So this CL moves the
ScriptPromise::cast from Blink to V8 layer. This change does not affect the
existing implementation.
Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#wait-until-method
BUG=514042
Committed: https://crrev.com/2223c104b56eaed9abc1d1f69723a2c7c8f61bda
git-svn-id: svn://svn.chromium.org/blink/trunk@199643 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : Rename method params. #
Total comments: 5
Patch Set 3 : Use |ScriptPromise| instead of |ScriptPromise&|. #
Total comments: 5
Patch Set 4 : Address comment: add/delete headers. #
Total comments: 2
Messages
Total messages: 28 (6 generated)
|