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

Add tests for allowing same-origin PaymentRequest in nested browsing contexts #4526

Open
4 of 15 tasks
zcorpan opened this issue Jan 11, 2017 · 1 comment
Open
4 of 15 tasks

Comments

@zcorpan
Copy link
Member

zcorpan commented Jan 11, 2017

Need tests for whatwg/html#2217

  • same origin iframe, frame, object, embed (allow)
  • cross-origin iframe, frame, object, embed (disallow)
  • cross-origin iframe with allowpaymentrequest (allow)
  • cross-origin frame, object, embed with allowpaymentrequest (disallow)
  • navigate iframe, frame, object, embed from same origin to cross origin (disallow)
  • document.domain in parent before origin check, child after (disallow)
  • document.domain in child only (allow)
  • document.domain in parent only after origin check (allow)
  • sandbox without allow-same-origin (disallow)
  • sandbox without allow-same-origin with allowpaymentrequest (allow)
  • sandbox with allow-same-origin (allow)
  • top-level origin A > iframe origin B > iframe origin A (disallow)
  • top-level origin A > iframe origin B > iframe origin B allowpaymentrequest (disallow)
  • top-level origin A > iframe origin B allowpaymentrequest > iframe origin B (allow)
  • test the examples in the spec
@marcoscaceres
Copy link
Contributor

@zcorpan, might be able to reuse these 3 tests for cross origin (currently same origin): #7275

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

No branches or pull requests

2 participants