| Index: third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
|
| index c6c0b0da8997902acf5551a21fecb5d2ddec94f5..e1e592dd9be3524b8e7492d2587aae3ff49feb2a 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html
|
| @@ -10,15 +10,15 @@ function test()
|
| function step2(response)
|
| {
|
| failIfError(response);
|
| - InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + response.result.wasThrown);
|
| + InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + !!response.result.exceptionDetails);
|
| InspectorTest.sendCommand("Runtime.evaluate", { expression: "let a = 239;" }, step3);
|
| }
|
|
|
| function step3(response)
|
| {
|
| failIfError(response);
|
| - InspectorTest.log("second \"let a = 1;\" result: wasThrown = " + response.result.wasThrown);
|
| - if (response.result.wasThrown)
|
| + InspectorTest.log("second \"let a = 1;\" result: wasThrown = " + !!response.result.exceptionDetails);
|
| + if (response.result.exceptionDetails)
|
| InspectorTest.log("exception message: " + response.result.exceptionDetails.text);
|
| InspectorTest.sendCommand("Runtime.evaluate", { expression: "a" }, step4);
|
| }
|
|
|