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

Unified Diff: LayoutTests/inspector/timeline/timeline-layout-reason.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/inspector/timeline/timeline-layout-reason.html
diff --git a/LayoutTests/inspector/timeline/timeline-layout-reason.html b/LayoutTests/inspector/timeline/timeline-layout-reason.html
deleted file mode 100644
index 71f17f733164dc6cfedd37d8b6e8f6e9c51f91bc..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/timeline/timeline-layout-reason.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<html>
-<style>
-.test { height: 20px; }
-</style>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function invalidateStyle()
-{
- var element = document.getElementById("test");
- element.className = "test";
-}
-
-function forceLayout()
-{
- var element = document.getElementById("test");
- var unused = element.offsetHeight;
-}
-
-function performActions()
-{
- invalidateStyle();
- forceLayout();
-}
-
-function test()
-{
- InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecorded);
- function onTimelineRecorded()
- {
- var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
- InspectorTest.addResult("layout invalidated: " + layoutRecord.callSiteStackTrace()[0].functionName);
- InspectorTest.addResult("layout forced: " + layoutRecord.stackTrace()[0].functionName);
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that Layout record has correct locations of layout being invalidated and forced.
-</p>
-<div id="test"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698