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

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

Issue 2181453002: [DevTools] Never stop in InjectedScriptSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | third_party/WebKit/LayoutTests/inspector/sources/debugger-step/debugger-step-in-ignore-injected-script.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c79c9121e4836ba7fd00e9bdb0f4b7cefedc293e..2192ed4e2d3395bd1e9a6ed50bd5fbd53c34fadf 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
@@ -19,6 +19,14 @@ InspectorTest.startDebuggerTest = function(callback, quiet)
InspectorTest.safeWrap(callback)();
};
+InspectorTest.startDebuggerTestPromise = function(quiet)
+{
+ var cb;
+ var p = new Promise(fullfill => cb = fullfill);
+ InspectorTest.startDebuggerTest(cb, quiet);
+ return p;
+}
+
InspectorTest.completeDebuggerTest = function()
{
WebInspector.breakpointManager.setBreakpointsActive(true);
@@ -86,6 +94,14 @@ InspectorTest.runTestFunctionAndWaitUntilPaused = function(callback)
InspectorTest.waitUntilPaused(callback);
};
+InspectorTest.runTestFunctionAndWaitUntilPausedPromise = function()
+{
+ var cb;
+ var p = new Promise(fullfill => cb = fullfill);
+ InspectorTest.runTestFunctionAndWaitUntilPaused(cb);
+ return p;
+}
+
InspectorTest.runAsyncCallStacksTest = function(totalDebuggerStatements, maxAsyncCallStackDepth)
{
InspectorTest.setQuiet(true);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-step/debugger-step-in-ignore-injected-script.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698