Index: LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
diff --git a/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html b/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
index eeba82479f94944080bc30a9fb84873a02569054..80f2ee3ddfc302712bb8be8e211d6f33d455fab8 100644 |
--- a/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
+++ b/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
@@ -40,10 +40,10 @@ function showInspectorAndRunTest() |
function test() |
{ |
- if (WebInspector.consoleModel.messages.length !== 1) |
- InspectorTest.addResult("FAIL: found too many console messages: " + WebInspector.consoleModel.messages.length); |
+ if (WebInspector.consoleModel.messages().length !== 1) |
+ InspectorTest.addResult("FAIL: found too many console messages: " + WebInspector.consoleModel.messages().length); |
- var message = WebInspector.consoleModel.messages[0]; |
+ var message = WebInspector.consoleModel.messages()[0]; |
var stack = message.stackTrace; |
if (stack) |
InspectorTest.addResult("FAIL: found message with stack trace"); |