Index: LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent-response-type-blob.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent.html b/LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent-response-type-blob.html |
similarity index 82% |
copy from LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent.html |
copy to LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent-response-type-blob.html |
index a3ff9d8aecd10b30a76bdead3b6f4f514d5c9dc2..c385ce4a9e860980ecb790fc2f6330b5ad3cf903 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent.html |
+++ b/LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent-response-type-blob.html |
@@ -1,7 +1,7 @@ |
<html> |
<head/> |
<body> |
-<p> Test case for bug 13596: Implement .onprogress handler on XMLHttpRequest objects to support progressive download content length information </p> |
+<p> .onprogress handler on XMLHttpRequest objects with response type 'blob' works to support progressive download content length information </p> |
<p> You should see type, bubble, cancelable, eventPhase, target and current target.</p> |
<script type="text/javascript"> |
function log (msg) |
@@ -39,8 +39,9 @@ if (window.testRunner) { |
} |
var req = new XMLHttpRequest(); |
+req.responseType = 'blob'; |
req.onprogress = onProgress; |
-req.open("GET", "resources/1251.html", true); |
+req.open("GET", "resources/get.txt", true); |
req.send(null); |
</script> |
</body> |