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

Unified Diff: LayoutTests/inspector/tracing/timeline-event-causes.html

Issue 654013003: Implement invalidation tracking in devtools (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: LayoutTests/inspector/tracing/timeline-event-causes.html
diff --git a/LayoutTests/inspector/tracing/timeline-event-causes.html b/LayoutTests/inspector/tracing/timeline-event-causes.html
index 1cd768df67bac29806c2fa9f65e0961f24c0ad2f..dbba816bce6c046c9578823357eca4876007eb6d 100644
--- a/LayoutTests/inspector/tracing/timeline-event-causes.html
+++ b/LayoutTests/inspector/tracing/timeline-event-causes.html
@@ -31,7 +31,7 @@ function test()
var record = InspectorTest.findFirstTimelineRecord("TimerFire");
InspectorTest.check(record, "Should receive a TimerFire record.");
var contentHelper = new WebInspector.TimelineDetailsContentHelper(record.traceEvent().thread.target(), linkifier, true);
- WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), contentHelper);
+ WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), linkifier, contentHelper);
var causes = contentHelper.element.textContent;
InspectorTest.check(causes, "Should generate causes");
checkStringContains(causes, "Timer installed: setTimeoutFunction @ setTimeoutFunction.js:");
@@ -57,7 +57,7 @@ function test()
var record = InspectorTest.findFirstTimelineRecord("FireAnimationFrame");
InspectorTest.check(record, "Should receive a FireAnimationFrame record.");
var contentHelper = new WebInspector.TimelineDetailsContentHelper(record.traceEvent().thread.target(), linkifier, true);
- WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), contentHelper);
+ WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), linkifier, contentHelper);
var causes = contentHelper.element.textContent;
InspectorTest.check(causes, "Should generate causes");
checkStringContains(causes, "Animation frame requested: requestAnimationFrameFunction @ requestAnimationFrameFunction.js:");
@@ -85,7 +85,7 @@ function test()
var record = InspectorTest.findFirstTimelineRecord("RecalculateStyles");
InspectorTest.check(record, "Should receive a RecalculateStyles record.");
var contentHelper = new WebInspector.TimelineDetailsContentHelper(record.traceEvent().thread.target(), linkifier, true);
- WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), contentHelper);
+ WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), linkifier, contentHelper);
var causes = contentHelper.element.textContent;
InspectorTest.check(causes, "Should generate causes");
checkStringContains(causes, "Stack when first invalidated: styleRecalcFunction @ styleRecalcFunction.js:");
@@ -114,7 +114,7 @@ function test()
var record = InspectorTest.findFirstTimelineRecord("Layout");
InspectorTest.check(record, "Should receive a Layout record.");
var contentHelper = new WebInspector.TimelineDetailsContentHelper(record.traceEvent().thread.target(), linkifier, true);
- WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), contentHelper);
+ WebInspector.TracingTimelineUIUtils._generateCauses(record.traceEvent(), linkifier, contentHelper);
var causes = contentHelper.element.textContent;
InspectorTest.check(causes, "Should generate causes");
checkStringContains(causes, "Stack when layout was forced: layoutFunction @ layoutFunction.js:");

Powered by Google App Engine
This is Rietveld 408576698