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

Unified Diff: LayoutTests/virtual/implsidepainting/inspector/timeline/timeline-frames.html

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 years, 1 month 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/virtual/implsidepainting/inspector/timeline/timeline-frames.html
diff --git a/LayoutTests/virtual/implsidepainting/inspector/timeline/timeline-frames.html b/LayoutTests/virtual/implsidepainting/inspector/timeline/timeline-frames.html
deleted file mode 100644
index cad8f1701c58f886d40ebae2f60a68ff5a762182..0000000000000000000000000000000000000000
--- a/LayoutTests/virtual/implsidepainting/inspector/timeline/timeline-frames.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<html>
-<head>
-<script src="../../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function performActions(callback)
-{
- var skipUpdateFrameNumber = 2;
- var lastFrame = 4;
- var frameCount = 0;
-
- requestAnimationFrame(onFrame);
- function onFrame()
- {
- ++frameCount;
- console.timeStamp("FRAME " + frameCount);
- // Do not update doc for one of the frames
- if (frameCount !== skipUpdateFrameNumber) {
- output("invalidating document");
- }
- if (frameCount === lastFrame)
- testRunner.displayAsyncThen(callback);
- else
- requestAnimationFrame(onFrame);
- }
-}
-
-function test()
-{
- InspectorTest.invokeAsyncWithTimeline("performActions", finish);
-
- function finish()
- {
- // Filter timestamp records
- var timeStampRecords = [];
- InspectorTest.printTimestampRecords(null, appendRecord);
- function appendRecord(record)
- {
- timeStampRecords.push(record);
- }
-
- var frames = InspectorTest.timelineFrameModel().frames();
- var recordIndex = 0;
-
- for (var frameIndex = 0; frameIndex < frames.length; ++frameIndex) {
- InspectorTest.addResult("Frame " + frameIndex);
- var nextFrameStartTime = frameIndex + 1 < frames.length ? frames[frameIndex + 1].startTime : Infinity;
- for (;recordIndex < timeStampRecords.length && timeStampRecords[recordIndex].startTime() < nextFrameStartTime; ++recordIndex)
- InspectorTest.dumpTimelineRecord(timeStampRecords[recordIndex]);
- }
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests reporting and canceling of didBeginFrame events in Timeline
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698