| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint-with-layout-invalidations.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint-with-layout-invalidations.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint-with-layout-invalidations.html
|
| deleted file mode 100644
|
| index 3cfe6749929d895ef038d022125af9f77633b86d..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint-with-layout-invalidations.html
|
| +++ /dev/null
|
| @@ -1,69 +0,0 @@
|
| -<!DOCTYPE HTML>
|
| -<html>
|
| -<head>
|
| -<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../http/tests/inspector/timeline-test.js"></script>
|
| -<script>
|
| -function display(callback)
|
| -{
|
| - requestAnimationFrame(function() {
|
| - document.body.style.backgroundColor = "blue";
|
| - document.getElementById("testElement").style.width = "100px";
|
| - var forceLayout = document.body.offsetTop;
|
| - if (window.testRunner)
|
| - testRunner.layoutAndPaintAsyncThen(callback);
|
| - });
|
| -}
|
| -
|
| -function updateSubframeAndDisplay(callback)
|
| -{
|
| - requestAnimationFrame(function() {
|
| - frames[0].document.body.children[0].style.width = "200px";
|
| - var forceLayout = frames[0].document.body.offsetTop;
|
| - if (window.testRunner)
|
| - testRunner.layoutAndPaintAsyncThen(callback);
|
| - });
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - var currentPanel = WebInspector.inspectorView.currentPanel();
|
| - InspectorTest.assertEquals(currentPanel._panelName, "timeline", "Current panel should be the timeline.");
|
| - Runtime.experiments.enableForTest("timelineInvalidationTracking");
|
| -
|
| - InspectorTest.runTestSuite([
|
| - function testLocalFrame(next)
|
| - {
|
| - InspectorTest.invokeAsyncWithTimeline("display", function() {
|
| - var record = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.Paint);
|
| - InspectorTest.addArray(record._event.invalidationTrackingEvents, InspectorTest.InvalidationFormatters, "", "paint invalidations");
|
| -
|
| - next();
|
| - });
|
| - },
|
| -
|
| - function testSubframe(next)
|
| - {
|
| - InspectorTest.invokeAsyncWithTimeline("updateSubframeAndDisplay", function() {
|
| - // The first paint corresponds to the local frame and should have no invalidations.
|
| - var firstPaintRecord = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.Paint);
|
| - var firstInvalidations = firstPaintRecord._event.invalidationTrackingEvents;
|
| - InspectorTest.assertEquals(firstInvalidations, undefined);
|
| -
|
| - // The second paint corresponds to the subframe and should have our layout/style invalidations.
|
| - var secondPaintRecord = InspectorTest.findTimelineRecord(WebInspector.TimelineModel.RecordType.Paint, 1);
|
| - InspectorTest.addArray(secondPaintRecord._event.invalidationTrackingEvents, InspectorTest.InvalidationFormatters, "", "second paint invalidations");
|
| -
|
| - next();
|
| - });
|
| - }
|
| - ]);
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests the Timeline API instrumentation of paint events with layout invalidations.</p>
|
| -<div id="testElement">PASS</div>
|
| -<iframe src="resources/timeline-iframe-paint.html" style="position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe>
|
| -</body>
|
| -</html>
|
|
|