Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-redirect-blocked.sub.html

Issue 2803943007: Un-skipped wpt csp child-src tests (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-redirect-blocked.sub.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-blocked.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-redirect-blocked.sub.html
similarity index 89%
copy from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-blocked.sub.html
copy to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-redirect-blocked.sub.html
index e32cc0af05eb4ded7193ff0cabb2d64dfbef5280..74b77c95d564d921774f716653e6ac8470f5674b 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-blocked.sub.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/child-src/child-src-redirect-blocked.sub.html
@@ -53,9 +53,9 @@ child-src 'none'; script-src 'self' 'unsafe-inline'; connect-src 'self';
</head>
<body>
- <iframe src="/content-security-policy/blink-contrib/resources/postmessage-fail.html" onload="loadEvent()" onerror="log('FAIL')"></iframe>
+ <iframe src="/common/redirect.py?location=http://{{domains[www1]}}:{{ports[http][0]}}/content-security-policy/support/postmessage-fail.html" onload="loadEvent()" onerror="log('FAIL')"></iframe>
<div id="log"></div>
- <script async defer src="../support/checkReport.sub.js?reportExists=true&amp;reportField=violated-directive&amp;reportValue=child-src%20&apos;none&apos;"></script>
+ <script async defer src="../support/checkReport.sub.js?reportExists=true&amp;reportField=violated-directive&amp;reportValue=frame-src%20&apos;none&apos;"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698