Index: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
index 5b12d54855fad4ab77c8e334cceb19b4c1860097..54dae969db8941dc9adf74a8c27d63e70f953f53 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/console-exception-while-no-inspector.html |
@@ -45,7 +45,7 @@ function test() |
var message = InspectorTest.consoleModel.messages()[0]; |
var stack = message.stackTrace; |
- if (stack) |
+ if (stack && stack.callFrames.length) |
InspectorTest.addResult("FAIL: found message with stack trace"); |
else |
InspectorTest.addResult("SUCCESS: message doesn't have stack trace"); |