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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-time.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-time.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-time.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-time.html
deleted file mode 100644
index 4747c5f22d31257fb5691ac47b41011779edaba3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-time.html
+++ /dev/null
@@ -1,103 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-testRunner.setDumpConsoleMessages(false);
-
-function simpleConsoleTime()
-{
- console.time("a");
- console.timeEnd("a");
-}
-
-function nestedConsoleTime()
-{
- console.time("a");
- {
- console.time("b");
- console.timeEnd("b");
- {
- console.time("c");
- {
- console.time("d");
- console.timeEnd("d");
- }
- console.timeEnd("c");
- }
- }
- console.timeEnd("a");
-}
-
-
-function unbalancedConsoleTime()
-{
- console.time("a");
- console.time("b");
- console.timeEnd("a");
- console.timeEnd("b");
-}
-
-function consoleTimeWithoutConsoleTimeEnd()
-{
- console.timeStamp("Foo");
- console.time("a");
- console.timeStamp("Bar");
- console.time("b");
- console.time("c");
- console.time("d");
- console.timeStamp("Baz");
- console.timeEnd("d");
-}
-
-function test()
-{
- InspectorTest.runTestSuite([
- function testSimpleConsoleTime(next)
- {
- performActions("simpleConsoleTime()", next);
- },
-
- function testNestedConsoleTime(next)
- {
- performActions("nestedConsoleTime()", next);
- },
-
- function testUnbalancedConsoleTime(next)
- {
- performActions("unbalancedConsoleTime()", next);
- },
-
- function testConsoleTimeWithoutConsoleTimeEnd(next)
- {
- performActions("consoleTimeWithoutConsoleTimeEnd()", next);
- }
- ]);
-
- function performActions(actions, next)
- {
- var namesToDump = new Set(["FunctionCall", "ConsoleTime", "TimeStamp"]);
- function dumpName(event, level)
- {
- if (namesToDump.has(event.name))
- InspectorTest.addResult("----".repeat(level) + "> " + WebInspector.TimelineUIUtils.eventTitle(event));
- }
- function callback()
- {
- InspectorTest.walkTimelineEventTree(dumpName);
- next();
- }
- WebInspector.panels.timeline._captureJSProfileSetting.set(false);
- InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callback), true);
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>Test nesting of time/timeEnd records on Timeline</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698