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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html

Issue 1772853002: Block the HTML parser on external stylesheets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified parser blocking logic Created 4 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
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
index bff5678f52eaf0eddc67ecb3cff8baf475a013f5..2917b8e5b5065b1b2bbafd8ad82170d7de93be72 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
@@ -10,11 +10,11 @@ function passed()
testFinished();
}
</script>
-<link rel="stylesheet" href="resources/stylesheet-with-non-existent-import.css" onload="testFailedAndNotifyDone('Fired Load event. Should have fired Error event.')" onerror="passed()">
</head>
<body>
<p>This tests that an Error event is fired at an HTML Link element when its style sheet fails to load an @import'ed style sheet. This test PASSED if there are only PASS messages below. Otherwise, it FAILED.</p>
<h1 id="test"><!-- Test element --></h1>
<pre id="console"></pre>
+<link rel="stylesheet" href="resources/stylesheet-with-non-existent-import.css" onload="testFailedAndNotifyDone('Fired Load event. Should have fired Error event.')" onerror="passed()">
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698