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

Unified Diff: third_party/WebKit/LayoutTests/inspector/css_tracker/highlight-in-source.html

Issue 2705433003: DevTools: decouple model logic from presentation within CSSTrackerView (Closed)
Patch Set: Review comments addressed 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/css_tracker/highlight-in-source.html
diff --git a/third_party/WebKit/LayoutTests/inspector/css_tracker/highlight-in-source.html b/third_party/WebKit/LayoutTests/inspector/css_tracker/highlight-in-source.html
index f9157f020109568f3903bbebfbcc0fe4aed14b90..a13446365c7817681275cbdc5e5dfbf016de21b9 100644
--- a/third_party/WebKit/LayoutTests/inspector/css_tracker/highlight-in-source.html
+++ b/third_party/WebKit/LayoutTests/inspector/css_tracker/highlight-in-source.html
@@ -16,10 +16,10 @@ function test()
{
InspectorTest.runTestSuite([
function testMarking(next)
- {
+ {
var tracker = self.runtime.sharedInstance(CSSTracker.CSSTrackerView);
- InspectorTest.addSniffer(CSSTracker.CSSTrackerView.prototype, "_renderRuleUsage", printResults);
-
+ InspectorTest.addSniffer(CSSTracker.CSSTrackerView.prototype, "_updateGutter", printResults);
+
tracker._toggleRecording(true);
UI.viewManager.showView("css_tracker");
tracker._toggleRecording(false);
@@ -28,7 +28,7 @@ function test()
{
UI.inspectorView.showPanel("sources").then(showSource);
}
-
+
function showSource()
{
InspectorTest.showScriptSource("highlight-in-source.css", waitForDecorations);
@@ -44,7 +44,7 @@ function test()
var lines = Array.prototype.map.call(document.querySelectorAll(".text-editor-css-rule-unused-marker"),
e => e.parentElement.previousSibling.textContent);
- InspectorTest.addResult(lines);
+ InspectorTest.addResult(lines);
next();
}
}

Powered by Google App Engine
This is Rietveld 408576698