Steps to reproduce
Controls if an iframe can access the PaymentRequest API.
On the spec side:
- When a document is initialized (https://html.spec.whatwg.org/#creating-a-new-browsing-context and https://html.spec.whatwg.org/#initialise-the-document-object ), https://html.spec.whatwg.org/#set-the-allow*-flags is run, which can set “allowpaymentrequest flag” and “allowusemedia flag” on Document.
- PaymentRequest constructor calls https://html.spec.whatwg.org/#allowed-to-use : https://github.com/w3c/browser-payment-api/pull/383
- getUserMedia also call allowed to use: https://github.com/w3c/mediacapture-main/pull/427
Relevant whatwg/html PRs:
Relevant w3c/web-platform-tests PRs:
I will write more tests for same origin-domain; see https://github.com/w3c/web-platform-tests/issues/4526
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Assigned To from “Brad E.” to “James M.”
Changed Assigned To to “Travis L.”
Changed Assigned To to “wwatri”