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

Unified Diff: LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt

Issue 200923002: Post a microtask to load <img> elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix last test failure Created 6 years, 7 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: LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt
diff --git a/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt b/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt
index ae64a7db9748805074c9e2664e376c94dd01c8be..e25281a14b39d1cb683168780a8b71b7c4b8ccf3 100644
--- a/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt
+++ b/LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt
@@ -1,14 +1,30 @@
-CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
+ALERT: Running test #6
-ALERT: BLOCKED in main world
-CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png?6' because it violates the following Content Security Policy directive: "img-src 'none'".
+
+ALERT: BLOCKED
+ALERT: Running test #5
+
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png?5' because it violates the following Content Security Policy directive: "img-src 'none'".
+
+ALERT: BLOCKED
+ALERT: Running test #4
-ALERT: BLOCKED in isolated world
ALERT: Starting to bypass main world's CSP:
-ALERT: LOADED in isolated world
-CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
+ALERT: LOADED
+ALERT: Running test #3
+
+ALERT: LOADED
+ALERT: Running test #2
+
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png?2' because it violates the following Content Security Policy directive: "img-src 'none'".
+
+ALERT: BLOCKED
+ALERT: Running test #1
-ALERT: BLOCKED in main world
-This test ensures that scripts run in isolated worlds marked with their own Content Security Policy aren't affected by the page's content security policy. Extensions, for example, should be able to load any resource they like.
+CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png?1' because it violates the following Content Security Policy directive: "img-src 'none'".
+ALERT: BLOCKED
+ALERT: Running test #0
+ This test ensures that scripts run in isolated worlds marked with their own Content Security Policy aren't affected by the page's content security policy. Extensions, for example, should be able to load any resource they like.

Powered by Google App Engine
This is Rietveld 408576698