| 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);
|
|
|