Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec "enable/disable: web-payments" policy #18

Closed
igrigorik opened this issue Jun 8, 2016 · 1 comment
Closed

Spec "enable/disable: web-payments" policy #18

igrigorik opened this issue Jun 8, 2016 · 1 comment

Comments

@igrigorik
Copy link
Member

Feature-Policy: {"enable": ["web-payments"], "target": ["https://bobpay.xyz"]}

By default PaymentRequest [1] interface should be hidden in embedded contexts, and "enable" should allow the site to expose said interface to the target origin. Conversely, the site should be able to "disable" the interface on self.

[1] https://www.w3.org/TR/payment-request/#paymentrequest-interface

igrigorik added a commit that referenced this issue Aug 16, 2016
Controls access to PaymentRequest interface and defaults to enabled for
top-level browsing contexts. Nested contexts are default off; parent
browsing context must explicitly enable the feature.

See #18.
@igrigorik
Copy link
Member Author

Added in 23c8364; part of #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@igrigorik and others