Chromium Code Reviews

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

Issue 2456013002: CSP: 'connect-src' should not cause exceptions. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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