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

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

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: simplify test Created 4 years, 3 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/http/tests/inspector/isolated-filesystem-test.js » ('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 fb92cabb4fc6393cff41f33451c52c95acfdd069..f375a9ee88db0304e46365570bfef507ad06f0ef 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
@@ -379,6 +379,14 @@ InspectorTest.showUISourceCode = function(uiSourceCode, callback)
InspectorTest.addSniffer(sourceFrame, "onTextEditorContentSet", callback && callback.bind(null, sourceFrame));
};
+InspectorTest.showUISourceCodePromise = function(uiSourceCode)
+{
+ var fulfill;
+ var promise = new Promise(x => fulfill = x);
+ InspectorTest.showUISourceCode(uiSourceCode, fulfill);
+ return promise;
+}
+
InspectorTest.showScriptSource = function(scriptName, callback)
{
InspectorTest.waitForScriptSource(scriptName, onScriptSource);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698