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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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-layout-reason.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-reason.html
deleted file mode 100644
index 2370d199b74d2f76964d6a1b5cd47429a703bcdf..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/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.traceEvent().initiator.stackTrace[0].functionName);
- InspectorTest.addResult("layout forced: " + layoutRecord.traceEvent().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