Index: third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js |
index 33e368fdce11e67516548f4d057d3300dce8c83b..880db90b16e3c4c542ca65b2ade673ee4a8f1ff9 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js |
@@ -47,7 +47,7 @@ InspectorTest.testJavascriptOutline = function(text) { |
InspectorTest.addResult(text.split('\n').map(line => ' ' + line).join('\n')); |
InspectorTest.addResult('Outline:'); |
for (var item of items) |
- InspectorTest.addResult(' ' + item.name + item.arguments + ':' + item.line + ':' + item.column); |
+ InspectorTest.addResult(' ' + item.name + (item.arguments || '') + ':' + item.line + ':' + item.column); |
fulfill(); |
} |
} |