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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/inject-style.js

Issue 2784543003: Fixed wpt content-security-policy/style-src tests (Closed)
Patch Set: CR changes 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/resources/inject-style.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/inject-style.js b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/inject-style.js
deleted file mode 100644
index 219d8f559c5a0f63d7fa48f72ad4660e5d74c29e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/inject-style.js
+++ /dev/null
@@ -1,5 +0,0 @@
-document.write("<style>#test1 { display: none; }</style>");
-
-var s = document.createElement('style');
-s.innerText = "#test2 { display: none; }";
-document.body.appendChild(s);

Powered by Google App Engine
This is Rietveld 408576698