tree: 5f5d66d7b2f17363d86c31c0a9b7c45ef3a01494 [path history] [tgz]
  1. .well-known/
  2. OWNERS
  3. page-policy-301redirect.html
  4. page-policy-301redirect.html.mock-http-headers
  5. page-policy-302redirect.html
  6. page-policy-302redirect.html.mock-http-headers
  7. page-policy-307redirect.html
  8. page-policy-307redirect.html.mock-http-headers
  9. page-policy-missing.html
  10. page-policy-missing.html.mock-http-headers
  11. page-with-policy.html
  12. page-with-policy.html.mock-http-headers
  13. page-without-policy.html
  14. page-without-policy.html.mock-http-headers
  15. README.md
chrome/test/data/origin_policy_browsertest/README.md

Support files for OriginPolicyBrowserTest.

An origin policy needs to be announced by the server in a header, and so this directory contains several files with “.mock-http-headers” companion files announcing different origin policies. The test looks for the page title, and so the headers file and the title in the .html file are the main “payload” for the test. Additionally, the .well-known/origin-policy/ directory contains example policies.

The main test suite for Origin Policy is wpt/origin-policy. These tests concentrate on aspects that can't easily be tested in the cross-browser WPT suite, mainly error handling.