RESOLVED FIXED Bug 207385
http/tests/paymentrequest/page-cache-completed-payment-response.https.html is flaky failing.
https://bugs.webkit.org/show_bug.cgi?id=207385
Summary http/tests/paymentrequest/page-cache-completed-payment-response.https.html is...
Jason Lawrence
Reported 2020-02-07 08:33:10 PST
http/tests/paymentrequest/page-cache-completed-payment-response.https.html Description: This test is flaky failing on Mac wk2. History: https://results.webkit.org/?platform=ios&platform=mac&suite=layout-tests&test=http%2Ftests%2Fpaymentrequest%2Fpage-cache-completed-payment-response.https.html Diff: --- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/tests/paymentrequest/page-cache-completed-payment-response.https-expected.txt +++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/tests/paymentrequest/page-cache-completed-payment-response.https-actual.txt @@ -9,9 +9,10 @@ pageshow - from cache PASS Page did enter and was restored from the back/forward cache Testing that PaymentResponse remains in the Completed state. -PASS response.complete() rejected promise with InvalidStateError: The object is in an invalid state.. -PASS response.retry() rejected promise with InvalidStateError: The object is in an invalid state.. +FAIL response.complete() should reject promise with InvalidStateError. Rejected with AbortError instead. +FAIL response.retry() should reject promise with InvalidStateError. Rejected with AbortError instead. PASS successfullyParsed is true +Some tests failed. TEST COMPLETE
Attachments
Patch (2.85 KB, patch)
2020-04-23 09:56 PDT, Chris Dumez
no flags
Jason Lawrence
Comment 1 2020-02-07 08:36:11 PST
I was able to reproduce this issue with the following command: run-webkit-tests http/tests/paymentrequest/page-cache-completed-payment-response.https.html --iterations 5000 260 tests ran as expected, 13 didn't (4727 didn't run):
Radar WebKit Bug Importer
Comment 2 2020-02-07 08:36:37 PST
Jason Lawrence
Comment 3 2020-02-07 09:32:01 PST
I have adjusted the expectations for this test, so it will now pass on failure while this is being investigated. https://trac.webkit.org/changeset/256025/webkit
Alexey Proskuryakov
Comment 4 2020-02-08 14:42:17 PST
This is a test for "PaymentRequest / PaymentResponse should not prevent entering the back/forward cache".
Chris Dumez
Comment 5 2020-03-12 16:55:15 PDT
Jason Lawrence
Comment 6 2020-03-24 11:17:15 PDT
It looks like this issue is still occurring on Mac wk2 Debug. The diff has changed slightly. History: https://results.webkit.org/?platform=mac&suite=layout-tests&test=http%2Ftests%2Fpaymentrequest%2Fpage-cache-completed-payment-response.https.html&style=debug Diff: --- /Volumes/Data/slave/mojave-debug-tests-wk2/build/layout-test-results/http/tests/paymentrequest/page-cache-completed-payment-response.https-expected.txt +++ /Volumes/Data/slave/mojave-debug-tests-wk2/build/layout-test-results/http/tests/paymentrequest/page-cache-completed-payment-response.https-actual.txt @@ -9,8 +9,8 @@ pageshow - from cache PASS Page did enter and was restored from the back/forward cache Testing that PaymentResponse remains in the Completed state. -PASS response.complete() rejected promise with InvalidStateError: The object is in an invalid state.. -PASS response.retry() rejected promise with InvalidStateError: The object is in an invalid state.. +PASS response.complete() rejected promise with AbortError: The operation was aborted.. +PASS response.retry() rejected promise with AbortError: The operation was aborted.. PASS successfullyParsed is true TEST COMPLETE
Chris Dumez
Comment 7 2020-04-23 09:56:32 PDT
EWS
Comment 8 2020-04-23 10:26:19 PDT
Committed r260579: <https://trac.webkit.org/changeset/260579> All reviewed patches have been landed. Closing bug and clearing flags on attachment 397351 [details].
Note You need to log in before you can comment on or make changes to this bug.