Index: third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors.html b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors.html |
index 218ecb8a41c75663c56b4b835235628dfd82301e..08b26154a2af93ba04a6dfde3d6055e2e6ac946c 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-no-cors.html |
@@ -2,7 +2,16 @@ |
<html> |
<head> |
<script src="/js-test-resources/js-test.js"></script> |
-<script>window.testCount = 8;</script> |
+<script> |
+window.testCount = 8; |
+ |
+// Don't log console messages as the order of CORS error messages is not |
+// stable. It's ok to ignore them since we're checking whether the elements |
+// got loaded or errored. |
+if (window.testRunner) { |
+ testRunner.setDumpConsoleMessages(false); |
+} |
+</script> |
<script src="resources/link-crossorigin-common.js"></script> |
</head> |
<body> |