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

Unified Diff: third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.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/decorations-after-inplace-formatter.html
diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html b/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html
index a50976a6eb1147ea0ddacad67deb7fbcf46ad740..21ac8a47c605d343a24a1c0ef8c73a9a4535d895 100644
--- a/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html
+++ b/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html
@@ -15,15 +15,12 @@ async function test()
await InspectorTest.stopCoverage();
await UI.inspectorView.showPanel("sources");
var formatter = await inplaceFormatter();
- await InspectorTest.sourceDecorated("decorations-after-inplace-formatter.css");
+ var sourceFrame = await InspectorTest.sourceDecorated("decorations-after-inplace-formatter.css");
var decoratorPromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "decorate");
formatter._formatSourceInPlace();
await decoratorPromise;
- var lines = Array.prototype.map.call(document.querySelectorAll(".text-editor-coverage-unused-marker"),
- e => e.parentElement.previousSibling.textContent);
- InspectorTest.addResult("Formatted line numbers of rules that were not used:");
- InspectorTest.addResult(lines);
+ InspectorTest.dumpDecorationsInSourceFrame(sourceFrame);
InspectorTest.completeTest();
async function inplaceFormatter()

Powered by Google App Engine
This is Rietveld 408576698