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

Unified Diff: LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html

Issue 1011103002: Allow cross-origin cssRules access to CORS-fetched stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: compile fix.. Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/link-crossorigin-stylesheet-import-anonymous.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html
diff --git a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html
index 544ae72e69de441bf9b36a8f539bbff4b7d47d06..1e3fedd170e48b6a1888f887951cbc483ecd018a 100644
--- a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html
+++ b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html
@@ -7,8 +7,8 @@ description("Test that a linked stylesheet with a crossorigin=anonymous attribut
</script>
<script src="resources/link-crossorigin-common.js"></script>
</head>
-<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php" onload="pass()" onerror="fail()">
-<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php" onload="pass()" onerror="fail()">
+<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php" onload="pass(event)" onerror="fail(event)">
+<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php" onload="pass(event)" onerror="fail(event)">
<script>
function runTest()
{
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/link-crossorigin-stylesheet-import-anonymous.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698