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

Unified Diff: third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html

Issue 2721563003: DevTools: add CSS/JS type indication to coverage view (Closed)
Patch Set: DevTools: add CSS/JS type indication to coverage view Created 3 years, 10 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/inspector/coverage/coverage-view.html
diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html b/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html
index f11289ee078ac1d1917b23b7a8dc3af17d920835..64296f5415e22c9a92f5a196a8d78ec7a43368d8 100644
--- a/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html
+++ b/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html
@@ -21,7 +21,8 @@ async function test()
var url = InspectorTest.formatters.formatAsURL(data.url);
if (url.endsWith("-test.js") || url.endsWith(".html"))
continue;
- InspectorTest.addResult(`${url} used: ${data.usedSize} unused: ${data.unusedSize} total: ${data.size}`);
+ var type = Coverage.CoverageListView._typeToString(data.type);
+ InspectorTest.addResult(`${url} ${type} used: ${data.usedSize} unused: ${data.unusedSize} total: ${data.size}`);
}
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698