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

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

Issue 1885703003: Make testharness.js tests fail on uncaught exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover script changes Created 4 years, 8 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/http/tests/security/link-crossorigin-preload-no-cors-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-no-cors-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-no-cors-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb18a245b602ecae85475cc30440697d6387dc46
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-no-cors-expected.txt
@@ -0,0 +1,8 @@
+CONSOLE ERROR: Link element resource from origin 'http://localhost:8000' 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: Link element resource from origin 'http://localhost:8000' 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: Link element resource from origin 'http://localhost:8000' 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: Link element resource from origin 'http://localhost:8000' 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.
+This is a testharness.js-based test.
+PASS Test that a preload with a crossorigin attribute does not load a cross-origin resource that isn't CORS enabled.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698