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

Unified Diff: LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors-expected.txt

Issue 399653002: Rework CORS <link rel=stylesheet> tests as js-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move up window.test_count assignment Created 6 years, 5 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/link-crossorigin-stylesheet-no-cors-expected.txt
diff --git a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors-expected.txt b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors-expected.txt
index d6b6e650ccbca10d36b1cc125c6448f27fde6136..d779ade3d4fd7a6a0eb267b56c4a6464ac0523b4 100644
--- a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors-expected.txt
+++ b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors-expected.txt
@@ -2,14 +2,15 @@ CONSOLE ERROR: CSS stylesheet from origin 'http://localhost:8080' has been block
CONSOLE ERROR: CSS stylesheet from origin 'http://localhost:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
CONSOLE ERROR: CSS stylesheet from origin 'http://localhost:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
CONSOLE ERROR: CSS stylesheet from origin 'http://localhost:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
-Test that a linked stylesheet with a crossorigin attribute does not load a cross-origin resource that isn't CORS enabled.
-
-PASS
-PASS
-PASS
-PASS
-PASS
-PASS
-PASS
-PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS successfullyParsed is true
+TEST COMPLETE
+Test that a linked stylesheet with a crossorigin attribute does not load a cross-origin resource that isn't CORS enabled.

Powered by Google App Engine
This is Rietveld 408576698