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

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: 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..3bb937b84b64d50111ce58312c1b0fa438b302a8 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,5 @@
function foo() {
}
-
-console.log("iframe loaded");
+requestAnimationFrame(() => {
pfeldman 2016/06/09 05:25:04 We don't need a frame - all we need is a new task.
+ console.log("iframe loaded");
+});
« 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