| Index: LayoutTests/inspector/tracing/timeline-animation-frame.html
|
| diff --git a/LayoutTests/inspector/tracing/timeline-animation-frame.html b/LayoutTests/inspector/tracing/timeline-animation-frame.html
|
| index ddfa1f3335f662d9298a988e5ccef935109542b5..9f010372604ec3cac42b8daee5eb9b1193321480 100644
|
| --- a/LayoutTests/inspector/tracing/timeline-animation-frame.html
|
| +++ b/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();
|
| }
|
| }
|
|
|