digitalgoods:Ensure "payments" feature is enabled to use DG.
Trying to match the restrictions in the Payment Request API spec [1] (DG isn't spec'd yet). We require that the "payment" feature policy is enabled. Secure context is already ensured by the IDL. Also add some logging of errors so developers can figure out what is going wrong. [1]: https://w3c.github.io/payment-request/#dfn-payment-relevant-browsing-context Bug: 1061503 Change-Id: I2c13663148ad8736a4d9ab3ea124d96038d8e878 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526872Reviewed-by:Dominick Ng <dominickn@chromium.org> Commit-Queue: Glen Robertson <glenrob@chromium.org> Cr-Commit-Position: refs/heads/master@{#826681}
Showing
Please register or sign in to comment