| 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 19b1a5f1dc251e266edf399ea9e14974470f3d2c..d7ca10400366f84b293fa84c4d9a0f2907c3627f 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| @@ -580,4 +580,9 @@ InspectorTest.selectThread = function(target)
|
| threadsPane._onListItemClick(listItem);
|
| }
|
|
|
| +InspectorTest.evaluateOnCurrentCallFrame = function(code)
|
| +{
|
| + return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCallFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ)));
|
| +}
|
| +
|
| };
|
|
|