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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-gc-event.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-gc-event.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-gc-event.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-gc-event.html
deleted file mode 100644
index 5c1c2c457c2c1b52ed675de544ee0fcf0432b48c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-gc-event.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function produceGarbageForGCEvents(callback)
-{
- if (window.testRunner) {
- window.gc();
- testRunner.layoutAndPaintAsyncThen(callback);
- }
-}
-
-function test()
-{
- InspectorTest.invokeAsyncWithTimeline("produceGarbageForGCEvents", validate);
-
- function validate()
- {
- var gcRecord = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.MajorGC) || InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.MinorGC)
- if (gcRecord)
- InspectorTest.addResult("SUCCESS: Found expected GC event record");
- else
- InspectorTest.addResult("FAIL: GC event record wasn't found");
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline API instrumentation of a gc event
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698