| Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| index 99beb1850cd7ccc8cd01695bea896c4c9d759628..57839baa8d3d028282466f8549e2f4903ba4934a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| @@ -49,6 +49,11 @@ InspectorTest.evaluateInPage = function(code, callback)
|
| InspectorTest.RuntimeAgent.evaluate(code, "console", false, mycallback);
|
| }
|
|
|
| +InspectorTest.evaluateInPagePromise = function(code)
|
| +{
|
| + return new Promise(succ => InspectorTest.evaluateInPage(code, succ));
|
| +}
|
| +
|
| InspectorTest.evaluateInPageWithTimeout = function(code)
|
| {
|
| // FIXME: we need a better way of waiting for chromium events to happen
|
|
|