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

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

Issue 2766913003: Fixed and improved content-security-policy/media-src tests (Closed)
Patch Set: Re-edited TestExpectations after a rebase-update to try to make the patch apply properly this time Created 3 years, 9 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/media-src/media-src-blocked.sub.html.sub.headers
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html.sub.headers b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-blocked.sub.html.sub.headers
similarity index 55%
rename from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html.sub.headers
rename to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-blocked.sub.html.sub.headers
index 685978de3a91f73682880dd8cedd878d92952277..72344214f1a6daba452dafb644f7b881ab8259d0 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-7_2_2.html.sub.headers
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/media-src/media-src-blocked.sub.html.sub.headers
@@ -2,5 +2,5 @@ Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0, false
Pragma: no-cache
-Set-Cookie: media-src-7_2_2={{$id:uuid()}}; Path=/content-security-policy/media-src/
-Content-Security-Policy: script-src * 'unsafe-inline'; media-src 'self'; report-uri ../support/report.py?op=put&reportID={{$id}}
+Set-Cookie: media-src-blocked={{$id:uuid()}}; Path=/content-security-policy/media-src/
+Content-Security-Policy: script-src * 'unsafe-inline'; media-src 'none'; connect-src 'self'; report-uri ../support/report.py?op=put&reportID={{$id}}

Powered by Google App Engine
This is Rietveld 408576698