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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/update-layer-tree.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/update-layer-tree.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/update-layer-tree.html b/third_party/WebKit/LayoutTests/inspector/tracing/update-layer-tree.html
deleted file mode 100644
index 30e0d03991cb1ce719cf91ba9f2ef080ba4d9336..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/update-layer-tree.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<html>
-<head>
-<style>
-.layer {
- position: absolute;
- width: 20px;
- height: 20px;
- transform: translateZ(10px);
-}
-</style>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function doActions(callback)
-{
- var layer = document.createElement("div");
- layer.classList.add("layer");
- document.getElementById("parent-layer").appendChild(layer);
-
- if (window.testRunner)
- testRunner.layoutAndPaintAsyncThen(callback);
-}
-
-function test()
-{
- InspectorTest.invokeWithTracing("doActions", onTracingComplete);
- function onTracingComplete()
- {
- var events = InspectorTest.timelineModel().inspectedTargetEvents();
- for (var i = 0; i < events.length; ++i) {
- var event = events[i];
- if (events[i].name === WebInspector.TimelineModel.RecordType.UpdateLayerTree) {
- InspectorTest.addResult("Got UpdateLayerTree event, phase: " + events[i].phase);
- break;
- }
- }
- InspectorTest.addResult("Done");
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the instrumentation of UpdateLayerTree event
-</p>
-<div id="parent-layer"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698