Bug 1509163 [wpt PR 14169] - PaymentRequest: Fix a retry-method-manual.https.html test, a=testonly
authorJinho Bang <jinho.bang@samsung.com>
Sat, 24 Nov 2018 10:29:12 +0000
changeset 504480 c5784af6c27e93a3ac02eac5406b43d4fa619580
parent 504479 3d96d149964b803d8caa2ce7ad6ce22ae328b53f
child 504481 6777091c9f3d765300d73ae7e31a1bca861f8035
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1509163, 14169, 861704, 1346429, 610049
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509163 [wpt PR 14169] - PaymentRequest: Fix a retry-method-manual.https.html test, a=testonly Automatic update from web-platform-testsPaymentRequest: Fix a retry-method-manual.https.html test The test is not working because invalid enum value is passed to the complete() method. Bug: 861704 Change-Id: I93d54e34a79428fdc88a2c52f12c80ae29c18221 Reviewed-on: https://chromium-review.googlesource.com/c/1346429 Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#610049} -- wpt-commits: 71eddb20801ba11de742876a18afc52e0ef22968 wpt-pr: 14169
testing/web-platform/tests/payment-request/payment-response/retry-method-manual.https.html
--- a/testing/web-platform/tests/payment-request/payment-response/retry-method-manual.https.html
+++ b/testing/web-platform/tests/payment-request/payment-response/retry-method-manual.https.html
@@ -51,17 +51,17 @@ function repeatedCallsToRetry(button) {
 }
 
 function callCompleteWhileRetrying(button) {
   button.disabled = true;
   promise_test(async t => {
     const { response } = await getPaymentRequestResponse();
     const retryPromise = response.retry();
     const completePromise1 = response.complete("success");
-    const completePromise2 = response.complete("failure");
+    const completePromise2 = response.complete("fail");
     assert_not_equals(
       completePromise1,
       completePromise2,
       "complete() must return unique promises"
     );
     await promise_rejects(
       t,
       "InvalidStateError",