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

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

Issue 465223002: [ Do not submit ] Prototype for invalidation analysis Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for review: cleanup sloppy algorithms, update tests 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
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-layout-deleted-node-invalidations.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:");
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-layout-deleted-node-invalidations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698