Index: third_party/WebKit/LayoutTests/inspector/console/console-dir-global.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-dir-global.html b/third_party/WebKit/LayoutTests/inspector/console/console-dir-global.html |
index 71ae9ef45311734e33ff5a14929b859f6e511e67..c3ce2fa5f9230333e4c4301591db5be6c50492d1 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/console/console-dir-global.html |
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-dir-global.html |
@@ -12,12 +12,12 @@ function doit() |
function test() |
{ |
- InspectorTest.RuntimeAgent.evaluate("window", "console", false, evalCallback); |
+ InspectorTest.RuntimeAgent.evaluate("window", "console", false).then(evalCallback); |
- function evalCallback(error, result) |
+ function evalCallback(result) |
{ |
- if (error) { |
- testController.notifyDone("Exception:" + error); |
+ if (!result) { |
+ testController.notifyDone("Exception"); |
return; |
} |
if (result.type === "error") |