Commit 0973cc61 authored by Jinho Bang's avatar Jinho Bang Committed by Commit Bot

PaymentRequest: updateWith() should take PaymentDetailsUpdate promise.

The PaymentDetails already splited into PaymentDetailsInit and
PaymentDetailsUpdate. The updateWith() should take PaymentDetailsUpdate promise.
This change is only for fixing typo and there is no change in behavior.

Related spec link:
  https://w3c.github.io/browser-payment-api/#paymentrequestupdateevent-interface

Bug: 704162
Change-Id: Ib1d4c290220fadf8fa95d4d11b5c5bda2b9300ce
Reviewed-on: https://chromium-review.googlesource.com/572675Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Jinho Bang <jinho.bang@samsung.com>
Cr-Commit-Position: refs/heads/master@{#487253}
parent 7333de69
......@@ -9,5 +9,5 @@
Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict),
ConstructorCallWith=ExecutionContext
] interface PaymentRequestUpdateEvent : Event {
[CallWith=ScriptState,RaisesException] void updateWith(Promise<PaymentDetails> d);
[CallWith=ScriptState,RaisesException] void updateWith(Promise<PaymentDetailsUpdate> detailsPromise);
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment