testing/web-platform/tests/portals/csp/frame-ancestors.sub.html
author Lucas Furukawa Gadani <lfg@chromium.org>
Tue, 10 Dec 2019 16:38:06 +0000
changeset 506419 cb67a73ffc247e3d989635fd59d61ffcb9ac33ff
child 566573 23b1dd280813332e23fcf0e44a3f109fff6c1e32
permissions -rw-r--r--
Bug 1600082 [wpt PR 20506] - Portals: Add support for frame-ancestors CSP directive., a=testonly Automatic update from web-platform-tests Portals: Add support for frame-ancestors CSP directive. Bug: 958042 Change-Id: I2d1129fdb0b7ff873452669d32d231a5c3c037e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1942487 Commit-Queue: Lucas Gadani <lfg@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#722009} -- wpt-commits: 5ce27e6ac31f5301f8ef12e1cc11f9cbd8002384 wpt-pr: 20506

<!DOCTYPE html>
<html>
<meta name="timeout" content="long">
<head>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
  <title>Blocked portals are reported correctly</title>
</head>
<body>
  <portal src="/content-security-policy/frame-ancestors/support/content-security-policy.sub.html?policy=report-uri%20../../support/report.py%3Fop=put%26reportID={{$id:uuid()}}%3B%20frame-ancestors%20'none'"></portal>
  <script async defer src="/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=frame-ancestors%20'none'&reportID={{$id}}"></script>
</body>
</html>