Index: LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-blocked-expected.txt |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-blocked-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-blocked-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..950a3afc82b537b013e4ae0839635bcb8ed11bc0 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-blocked-expected.txt |
@@ -0,0 +1,13 @@ |
+CONSOLE ERROR: Refused to load plugin data from 'http://127.0.0.1:8080/plugins/resources/mock-plugin.pl?src' because it violates the following Content Security Policy directive: "object-src http://localhost:8080". |
+ |
+CONSOLE MESSAGE: line 22: PASS: Error occurred, so load was correctly blocked. |
+CONSOLE ERROR: Refused to load plugin data from 'http://127.0.0.1:8080/plugins/resources/mock-plugin.pl?movie' because it violates the following Content Security Policy directive: "object-src http://localhost:8080". |
+ |
+CONSOLE MESSAGE: line 22: PASS: Error occurred, so load was correctly blocked. |
+CONSOLE ERROR: Refused to load plugin data from 'http://127.0.0.1:8080/plugins/resources/mock-plugin.pl?code' because it violates the following Content Security Policy directive: "object-src http://localhost:8080". |
+ |
+CONSOLE MESSAGE: line 22: PASS: Error occurred, so load was correctly blocked. |
+CONSOLE ERROR: Refused to load plugin data from 'http://127.0.0.1:8080/plugins/resources/mock-plugin.pl?url' because it violates the following Content Security Policy directive: "object-src http://localhost:8080". |
+ |
+CONSOLE MESSAGE: line 22: PASS: Error occurred, so load was correctly blocked. |
+This test passes if there is are four console messages saying the plugins were blocked. |
abarth-chromium
2013/11/19 17:22:08
Do these messages arrive in a predictable order or
Mike West
2013/11/19 18:35:06
I'm fairly sure they're predictable (e.g. they don
|