Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PaymentRequest: fixes allowpaymentrequest test errors (#6418)
* Fixes test errors causing test files to fail in Edge and Chrome. 1) The error in removing-allowpaymentrequest.https.sub.html is that the test expects the PaymentRequest Constructor to fail before allowpaymentrequest has been turned off. 2) The error in setting-allowpaymentrequest.https.sub.html is that the test expects the PaymentRequest Constructor to succeed before allowpaymentrequest has ever been turned on. * Fixes error in setting-allowpaymentrequest-timing.https.sub.html This test currently fails in Chrome and Edge. From the comments in the test it appears that the test expects to turn on the allowpaymentrequest asynchronously before the iframe can receive the postmessage. However, the error in the test is that it expects a security error to be thrown after the allowpaymentrequest attribute has been turned on.
- Loading branch information