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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-received-data.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-network-received-data.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-received-data.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-received-data.html
deleted file mode 100644
index a7372e67c1d606ab01f60c6ebecb41f394292175..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-received-data.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function performActions(callback)
-{
- function onImageLoad()
- {
- window._imageLoaded = true;
- if (window._scriptEvaluated)
- callback();
- }
-
- function scriptEvaluated()
- {
- window._scriptEvaluated = true;
- if (window._imageLoaded)
- callback();
- }
-
- var image = new Image();
- image.onload = onImageLoad;
- image.src = "resources/anImage.png";
- var script = document.createElement("script");
- script.src = "timeline-network-resource.js";
- document.body.appendChild(script);
-
- window.timelineNetworkResourceEvaluated = scriptEvaluated;
-}
-
-function test()
-{
- InspectorTest.invokeAsyncWithTimeline("performActions", done);
-
- function done()
- {
- InspectorTest.addResult("Script evaluated.");
- var record = InspectorTest.findFirstTimelineRecord("ResourceReceivedData");
- if (record) {
- var data = record.traceEvent().args["data"];
- if (data && typeof data.encodedDataLength === "number")
- InspectorTest.addResult("Resource received data has length, test passed.");
- }
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline API instrumentation of a network resource received data
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698