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

Unified Diff: LayoutTests/fast/dom/css-insert-import-rule.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: LayoutTests/fast/dom/css-insert-import-rule.html
diff --git a/LayoutTests/fast/dom/css-insert-import-rule.html b/LayoutTests/fast/dom/css-insert-import-rule.html
index cf99a5c3a1d35541728e0ecf5b5dc3a5036d3944..b0b15b036fbef224b16dd3df277492834067f0fa 100644
--- a/LayoutTests/fast/dom/css-insert-import-rule.html
+++ b/LayoutTests/fast/dom/css-insert-import-rule.html
@@ -8,12 +8,10 @@ div {
</style>
<script>
-function test() {
- document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0);
-}
+document.styleSheets[0].insertRule('@import url("resources/css-insert-import-rule.css");', 0);
dcheng 2014/10/20 18:35:14 Is this just to simplify the test, or was this dri
</script>
</head>
-<body onload="test()";>
+<body>
<div></div>
</body>

Powered by Google App Engine
This is Rietveld 408576698