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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked.html

Issue 2763253002: Fixed external wpt csp img-src/* tests. (Closed)
Patch Set: Switched to placeholders instead of hardcoded URLs 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/http/tests/security/contentSecurityPolicy/image-blocked.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked.html
deleted file mode 100644
index 3b9d061beb7e1c6434aba8ab5b06d04fd91d9f4b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="Content-Security-Policy" content="img-src 'none'; script-src 'unsafe-inline'">
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-</head>
-<body>
-This test passes if it doesn't alert FAIL and does alert PASS.
-<img src="../resources/abe.png" onload="alert('FAIL')" onerror="alert('PASS')">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698