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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js

Issue 2544383002: [DevTools] fixed script-formatter-breakpoints-1.html (Closed)
Patch Set: a Created 4 years 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/http/tests/inspector/debugger-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
index 43984811f790d02e259b377824cc39143fe5ca25..d051e28daef460c09305c5dfa2c3b54c38c3f056 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
@@ -163,6 +163,11 @@ InspectorTest.waitUntilPaused = function(callback)
InspectorTest._waitUntilPausedCallback = callback;
};
+InspectorTest.waitUntilPausedPromise = function()
+{
+ return new Promise(resolve => InspectorTest.waitUntilPaused(resolve));
+}
+
InspectorTest.waitUntilResumedNextTime = function(callback)
{
InspectorTest._waitUntilResumedCallback = InspectorTest.safeWrap(callback);

Powered by Google App Engine
This is Rietveld 408576698