| Index: LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
|
| diff --git a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
|
| index 77072abf3fbb7665f523ef7877992164b31e8402..ef865807e9f4c2871efbf885bb525a0628762965 100644
|
| --- a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
|
| +++ b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
|
| @@ -248,7 +248,7 @@ InspectorTest.evaluateInPage = function(string, callback)
|
| this.sendCommand("Runtime.evaluate", { "expression": string }, function(message) {
|
| if (message.error)
|
| InspectorTest.log("Error while executing '" + string + "': " + message.error.message);
|
| - else
|
| + else if (callback)
|
| callback();
|
| });
|
| };
|
|
|