Index: third_party/WebKit/LayoutTests/inspector/components/linkifier.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html |
index dd50816f2f644f68883497b3b01cffe28d546e4f..46e73ed90546f665d40adfa0dbb272bc4ee85cea 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html |
+++ b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html |
@@ -62,7 +62,8 @@ function test() |
function dumpLiveLocationsCount() |
{ |
- InspectorTest.addResult("Live locations count: " + Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script)._locations.size); |
+ var scriptInfo = Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script); |
+ InspectorTest.addResult("Live locations count: " + (scriptInfo._locations ? scriptInfo._locations.size : 0)); |
InspectorTest.addResult(""); |
} |
} |