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

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

Issue 2865573003: DevTools: support live coverage (Closed)
Patch Set: minor polish on corner cases Created 3 years, 7 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/reveal-autoformat.html
diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/reveal-autoformat.html b/third_party/WebKit/LayoutTests/inspector/coverage/reveal-autoformat.html
index 0d1ee9e99a784a141ef625c7693625ee239edda0..2961a1160b83c49984cc97112eb56e5651677d10 100644
--- a/third_party/WebKit/LayoutTests/inspector/coverage/reveal-autoformat.html
+++ b/third_party/WebKit/LayoutTests/inspector/coverage/reveal-autoformat.html
@@ -16,7 +16,7 @@ async function test()
await InspectorTest.stopCoverage();
var node = InspectorTest.findCoverageNodeForURL("long-mangled.css");
var coverageListView = self.runtime.sharedInstance(Coverage.CoverageView)._listView;
- var decoratePromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "decorate");
+ var decoratePromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "_innerDecorate");
coverageListView._revealSourceForNode(node);
await decoratePromise;
InspectorTest.addResult("The below should be formatted");
@@ -24,7 +24,7 @@ async function test()
node = InspectorTest.findCoverageNodeForURL("decorations-after-inplace-formatter.css");
- decoratePromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "decorate");
+ decoratePromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "_innerDecorate");
coverageListView._revealSourceForNode(node);
await decoratePromise;
InspectorTest.addResult("The below should NOT be formatted");

Powered by Google App Engine
This is Rietveld 408576698