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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js

Issue 2049283002: Make sure CSS agent messages flush before testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use setTimeout Created 4 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js
index a064c9a36c2d1ad42aaddb4295d6959d6a5a164a..f219763e3dd4086e4ef6bf5ee61f6000e0b06243 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js
@@ -1,4 +1,4 @@
function foo() {
}
-console.log("iframe loaded");
+setTimeout(() => console.log("iframe loaded"), 0);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698