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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html

Issue 1353653003: DevTools: cleanup timeline concise record details generation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: re-uploading after blink repo merge Created 5 years, 3 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/tracing/timeline-animation-frame.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html
index ddfa1f3335f662d9298a988e5ccef935109542b5..9f010372604ec3cac42b8daee5eb9b1193321480 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html
@@ -11,7 +11,8 @@ function performActions(callback)
function animationFrameCallback()
{
window.cancelAnimationFrame(requestId);
- callback();
+ if (callback)
+ callback();
}
}
@@ -21,9 +22,9 @@ function test()
function finish()
{
- InspectorTest.printTimelineRecords("RequestAnimationFrame");
- InspectorTest.printTimelineRecords("FireAnimationFrame");
- InspectorTest.printTimelineRecords("CancelAnimationFrame");
+ InspectorTest.printTimelineRecordsWithDetails("RequestAnimationFrame");
+ InspectorTest.printTimelineRecordsWithDetails("FireAnimationFrame");
+ InspectorTest.printTimelineRecordsWithDetails("CancelAnimationFrame");
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698