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 80f2ee3ddfc302712bb8be8e211d6f33d455fab8..5b12d54855fad4ab77c8e334cceb19b4c1860097 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 (InspectorTest.consoleModel.messages().length !== 1) |
+ InspectorTest.addResult("FAIL: found too many console messages: " + InspectorTest.consoleModel.messages().length); |
- var message = WebInspector.consoleModel.messages()[0]; |
+ var message = InspectorTest.consoleModel.messages()[0]; |
var stack = message.stackTrace; |
if (stack) |
InspectorTest.addResult("FAIL: found message with stack trace"); |