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

Unified Diff: LayoutTests/http/tests/inspector/timeline-xhr-response-type-blob-event.html

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 years, 1 month 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: LayoutTests/http/tests/inspector/timeline-xhr-response-type-blob-event.html
diff --git a/LayoutTests/http/tests/inspector/timeline-xhr-response-type-blob-event.html b/LayoutTests/http/tests/inspector/timeline-xhr-response-type-blob-event.html
deleted file mode 100644
index e0732d1d24003ce57cc37957e7a5afded9af4c1b..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/inspector/timeline-xhr-response-type-blob-event.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-<head>
-<script src="inspector-test.js"></script>
-<script src="timeline-test.js"></script>
-<script src="network-test.js"></script>
-<script>
-
-function performActions(callback)
-{
- var xhr = new XMLHttpRequest();
- xhr.responseType = "blob";
- xhr.open("GET", "network/resources/resource.php", true);
- xhr.onload = function() { }; // This is necessary for XHRLoad event.
- // assigning callback to onload doesn't work here due to exception in responseXML handling for blob response type.
- xhr.onreadystatechange = done;
- function done()
- {
- if (xhr.readyState === 4)
- callback();
- }
- xhr.send(null);
-}
-
-function test()
-{
- InspectorTest.resetInspectorResourcesData(step1);
- function step1()
- {
- InspectorTest.invokeAsyncWithTimeline("performActions", finish);
-
- function finish()
- {
- InspectorTest.printTimelineRecords("XHRReadyStateChange");
- InspectorTest.printTimelineRecords("XHRLoad");
- InspectorTest.completeTest();
- }
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline events for XMLHttpReqeust with responseType="blob"
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698