blob: a991f7142719cf35e67695a50b056e2b95fb1cb5 [file] [log] [blame]
Tests that a page with a PaymentResponse in the Completed state goes into the back/forward cache.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Creating a PaymentResponse in the Completed state.
pageshow - not from cache
pagehide - entering cache
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.
PASS response.retry() rejected promise.
PASS successfullyParsed is true
TEST COMPLETE