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

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

Issue 2763183002: DevTools: remove nesting depth tracking from coverage (Closed)
Patch Set: DevTools: remove nesting depth tracking from coverage 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/inspector/coverage/segments-merge.html
diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/segments-merge.html b/third_party/WebKit/LayoutTests/inspector/coverage/segments-merge.html
index 912e224a197f5e81b6ca0e165907ff30857cf846..86ac57f97dba2b2d14f7567ce62fdaa8e70ba120 100644
--- a/third_party/WebKit/LayoutTests/inspector/coverage/segments-merge.html
+++ b/third_party/WebKit/LayoutTests/inspector/coverage/segments-merge.html
@@ -11,12 +11,12 @@ InspectorTest.preloadModule("coverage");
function test()
{
testAndDump([], []);
- testAndDump([{end: 10, count: 1, depth: 1}], []);
- testAndDump([{end: 10, count: 1, depth: 1}], [{end: 10, count: 1, depth: 1}]);
- testAndDump([{end: 10, count: 1, depth: 1}], [{end: 20, count: 1, depth: 1}]);
- testAndDump([{end: 10, count: 1, depth: 1}, {end: 20, count: 1, depth: 1}], []);
- testAndDump([{end: 30, count: 1, depth: 1}], [{end: 10, count: undefined, depth: 0}, {end: 20, count: 2, depth: 1}]);
- testAndDump([{end: 30, count: undefined, depth: 0}], [{end: 10, count: undefined, depth: 0}, {end: 20, count: 2, depth: 1}]);
+ testAndDump([{end: 10, count: 1}], []);
+ testAndDump([{end: 10, count: 1}], [{end: 10, count: 1}]);
+ testAndDump([{end: 10, count: 1}], [{end: 20, count: 1}]);
+ testAndDump([{end: 10, count: 1}, {end: 20, count: 1}], []);
+ testAndDump([{end: 30, count: 1}], [{end: 10, count: undefined}, {end: 20, count: 2}]);
+ testAndDump([{end: 30, count: undefined}], [{end: 10, count: undefined}, {end: 20, count: 2}]);
InspectorTest.completeTest();
@@ -47,8 +47,6 @@ function test()
return false;
if (a[i].count !== b[i].count)
return false;
- if (a[i].depth !== b[i].depth)
- return false;
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698