Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources-test.js

Issue 2770123002: DevTools: produce javascript outline for javascript classess (Closed)
Patch Set: missing build files Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
}

Powered by Google App Engine
This is Rietveld 408576698