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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.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.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
deleted file mode 100644
index 7c2ed83f9620c0d621678268c3be54f9bd612af7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<style>
-.relayout-boundary {
- overflow: hidden;
- width: 100px;
- height: 100px;
-}
-</style>
-<script>
-
-function invalidateAndForceLayout(element)
-{
- element.style.marginTop = "10px";
- var unused = element.offsetHeight;
-}
-
-function performActions()
-{
- wrapCallFunctionForTimeline(() => invalidateAndForceLayout(document.getElementById("invalidate1")));
- wrapCallFunctionForTimeline(() => invalidateAndForceLayout(document.getElementById("invalidate2")));
-}
-
-function test()
-{
- InspectorTest.performActionsAndPrint("performActions()", "Layout");
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline API instrumentation of a Layout event
-</p>
-<div class="relayout-boundary">
- <div>text</div>
- <div></div>
- <div>
- <div id="invalidate1"><div>text</div></div>
- </div>
-</div>
-<div class="relayout-boundary">
- <div></div>
- <div>text</div>
- <div id="invalidate2"><div>text</div></div>
- <div></div>
- <div></div>
- <div>text</div>
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698