Commit f149409d authored by tyoshino's avatar tyoshino Committed by Commit bot

Unflake link-crossorigin-stylesheet-no-cors.html

The order of the CORS error messages for the link elements is not
stable. Stop logging them and compare only output from the test cases.

R=yhirano
BUG=633834

Review-Url: https://codereview.chromium.org/2277693002
Cr-Commit-Position: refs/heads/master@{#415243}
parent 6e17cd2b
......@@ -1222,7 +1222,6 @@ crbug.com/621892 css3/filters/effect-brightness-hw.html [ Pass Failure ]
crbug.com/621892 css3/filters/effect-hue-rotate-hw.html [ Pass Failure ]
crbug.com/621892 css3/filters/effect-saturate-hw.html [ Pass Failure ]
crbug.com/621892 css3/filters/effect-sepia-hw.html [ Pass Failure ]
crbug.com/633834 http/tests/security/link-crossorigin-stylesheet-no-cors.html [ Failure Pass ]
crbug.com/622672 [ Mac ] virtual/threaded/fast/scroll-behavior/overflow-interrupted-scroll.html [ Pass Failure ]
crbug.com/624430 [ Win10 ] fast/text/font-features/caps-casemapping.html [ Failure ]
......
CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resources/green-background.css?1' from origin 'http://localhost:8080' has been blocked by CORS 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: Access to CSS stylesheet at 'http://localhost:8080/security/resources/green-background.css?2' from origin 'http://localhost:8080' has been blocked by CORS 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: Access to CSS stylesheet at 'http://localhost:8080/security/resources/green-background.css?8' from origin 'http://localhost:8080' has been blocked by CORS 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: Access to CSS stylesheet at 'http://localhost:8080/security/resources/green-background.css?9' from origin 'http://localhost:8080' has been blocked by CORS 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.
PASS
PASS
PASS
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment