Index: LayoutTests/inspector/sources/debugger/monitor-console-command.html |
diff --git a/LayoutTests/inspector/sources/debugger/monitor-console-command.html b/LayoutTests/inspector/sources/debugger/monitor-console-command.html |
index f8c0e729817d24ce1d028554ca0a515f739d7ff9..f58e6ede4c942ec47cfed5f17cb4a9f1e4ebfa3c 100644 |
--- a/LayoutTests/inspector/sources/debugger/monitor-console-command.html |
+++ b/LayoutTests/inspector/sources/debugger/monitor-console-command.html |
@@ -66,9 +66,9 @@ var test = function() |
InspectorTest.addResult("Set timer for test function."); |
InspectorTest.waitUntilMessageReceived(didReceive); |
- function didReceive(message, isFromBackend) |
+ function didReceive(message) |
{ |
- if (!isFromBackend) { |
+ if (message.type === WebInspector.ConsoleMessage.MessageType.Result) { |
InspectorTest.waitUntilMessageReceived(didReceive); |
return; |
} |