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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html

Issue 2273143002: Update web-platform-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update baseline Created 4 years, 4 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/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html
index afe86a4210ce6df167971c4e693b32f5b6164a1a..6f6172a2d62cf79c0cbba653c4da68326c73ca90 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/document-metadata/the-link-element/link-load-event.html
@@ -10,12 +10,9 @@ var t = async_test("Check if the stylesheet's load event blocks the document loa
document.getElementById('style_test').onload = t.step_func(function() {
saw_link_onload = true;
});
-window.addEventListener('load', function() {
- t.step_func(function() {
- assert_true(saw_link_onload);
- });
- t.done();
-}, false);
+window.addEventListener('load', t.step_func_done(function() {
+ assert_true(saw_link_onload);
+}));
</script>
</head>
</html>

Powered by Google App Engine
This is Rietveld 408576698