[Payment Request] PaymentResponse.retry()'s errorFields should be optional
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Nov 2018 18:45:47 +0000 (18:45 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Nov 2018 18:45:47 +0000 (18:45 +0000)
commit35d65128bc9282e5e77611bd3130a7349ff6e106
tree030dab350c364b11f44bb6456f4214ae096aa8a5
parent3d38b8e7079a06c68dad1e831833b1ccc1800e4a
[Payment Request] PaymentResponse.retry()'s errorFields should be optional
https://bugs.webkit.org/show_bug.cgi?id=191212

Reviewed by Youenn Fablet.

Source/WebCore:

Per WebIDL, the errorFields argument to PaymentResponse.retry() should be optional. See
<https://github.com/w3c/payment-request/issues/804> for details.

Added test case to http/tests/paymentrequest/payment-response-retry-method.https.html.

* Modules/paymentrequest/PaymentResponse.idl:

LayoutTests:

* http/tests/paymentrequest/payment-response-retry-method.https-expected.txt:
* http/tests/paymentrequest/payment-response-retry-method.https.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/paymentrequest/payment-response-retry-method.https-expected.txt
LayoutTests/http/tests/paymentrequest/payment-response-retry-method.https.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/paymentrequest/PaymentResponse.idl