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

Unified Diff: LayoutTests/inspector/sources/debugger/resources/framework.js

Issue 732593002: DevTools: Make StepInto work across script boundaries and Blink process tasks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 1 month 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/inspector/sources/debugger/resources/framework.js
diff --git a/LayoutTests/inspector/sources/debugger/resources/framework.js b/LayoutTests/inspector/sources/debugger/resources/framework.js
index 6b6926f910bb4ab58168e304de80de96e588e664..efed1e775d4a717eabb177aa66947629c365db10 100644
--- a/LayoutTests/inspector/sources/debugger/resources/framework.js
+++ b/LayoutTests/inspector/sources/debugger/resources/framework.js
@@ -132,3 +132,15 @@ Framework.throwFrameworkExceptionAndCatch = function()
} catch(e) {
}
}
+
+Framework.scheduleUntilDone = function(callback, delay)
+{
+ Framework.schedule(Framework_scheduleUntilDone, delay);
+
+ function Framework_scheduleUntilDone()
+ {
+ if (callback && callback())
+ return;
+ Framework.schedule(Framework_scheduleUntilDone, delay);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698