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

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

Issue 2745283002: DevTools: merge coverage segments from different instances of same URL (Closed)
Patch Set: review comments addressed 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/coverage/gutter-css.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0f069491e807d74d605fa0b78737a53fa04ca060..59d5ef4ceae5f95302172aacc8e15d4712e9c95c 100644
--- a/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html
+++ b/third_party/WebKit/LayoutTests/inspector/coverage/coverage-view.html
@@ -18,11 +18,11 @@ async function test()
var dataGrid = coverageView._listView._dataGrid;
for (var child of dataGrid.rootNode().children) {
var data = child._coverageInfo;
- var url = InspectorTest.formatters.formatAsURL(data.contentProvider.contentURL());
+ var url = InspectorTest.formatters.formatAsURL(data.url());
if (url.endsWith("-test.js") || url.endsWith(".html"))
continue;
- var type = Coverage.CoverageListView._typeToString(data.type);
- InspectorTest.addResult(`${url} ${type} 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();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/coverage/gutter-css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698