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

Unified Diff: third_party/WebKit/LayoutTests/fast/eventsource/eventsource-constructor.html

Issue 2456013002: CSP: 'connect-src' should not cause exceptions. (Closed)
Patch Set: Ugh. 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/fast/eventsource/eventsource-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/eventsource/eventsource-constructor.html b/third_party/WebKit/LayoutTests/fast/eventsource/eventsource-constructor.html
index d127f17c8effdbd1024040a3214176f29e816c5b..cf75eed60464c3dbb2f3c66c91350c9273c184cb 100644
--- a/third_party/WebKit/LayoutTests/fast/eventsource/eventsource-constructor.html
+++ b/third_party/WebKit/LayoutTests/fast/eventsource/eventsource-constructor.html
@@ -38,9 +38,9 @@ try {
try {
new EventSource("http://disallowed.example.com/");
- log("FAIL: no exception when passing an URL blocked by Content Security Policy to the EventSource constructor");
+ log("PASS: no exception when passing an URL blocked by Content Security Policy to the EventSource constructor");
} catch (e) {
- log("PASS: passing a Content-Security-Policy-blocked URL to the EventSource constructor resulted in an exception (" + e + ")");
+ log("FAIL: passing a Content-Security-Policy-blocked URL to the EventSource constructor resulted in an exception (" + e + ")");
}
try {

Powered by Google App Engine
This is Rietveld 408576698