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
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):
<rdar://problem/59260167>
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
This is a test for "PaymentRequest / PaymentResponse should not prevent entering the back/forward cache".
Committed r258373: <https://trac.webkit.org/changeset/258373>
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
Created attachment 397351 [details] Patch
Committed r260579: <https://trac.webkit.org/changeset/260579> All reviewed patches have been landed. Closing bug and clearing flags on attachment 397351 [details].