commit | 988b56b519836f3d3d94f145ba3554a0c0a7d0a8 | [log] [tgz] |
---|---|---|
author | Rouslan Solomakhin <rouslan@chromium.org> | Fri May 17 20:58:08 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 17 20:58:08 2019 |
tree | 75013902afd5e17c9fd8c834e5c2f55f63ea094a | |
parent | 78f1faa6f7d7bb24fd1400f6dbb8d736477dd9c3 [diff] |
[Payment Request] Respect --ignore-certificate-errors flag. Before this patch, Payment Request would always return false for canMakePayment() and hasEnrolledInstrument() and reject show() with NotSupportedError for websites with invalid certificates, even if the --ignore-certificate-errors flag was passed on the command line. This flag is used by web platform tests, which was unable to run some Payment Request tests. This patch checks for --ignore-certificate-errors flag the SSL validity checker for Payment Request. After this patch, web platform tests are able to run more of the Payment Request tests. Bug: 964472 Change-Id: I94be74cbaa973a37b5effc0d3925e18ca5a50f2f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618121 Reviewed-by: Danyao Wang <danyao@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#661012}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .