| 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 72%
|
| copy from LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent.html
|
| copy to LayoutTests/http/tests/xmlhttprequest/infoOnProgressEvent-response-type-blob.html
|
| index a3ff9d8aecd10b30a76bdead3b6f4f514d5c9dc2..1fd370fa2b8cc8cafdc6c95cc86ee56d3e2ffa26 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)
|
| @@ -27,20 +27,15 @@ function onProgress(e) {
|
| testRunner.notifyDone();
|
| }
|
|
|
| -function onError(e) {
|
| - alert("Error " + e.target.status + " occurred while receiving the document.");
|
| -}
|
| -
|
| -var shouldNotify = false;
|
| -
|
| if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| testRunner.waitUntilDone();
|
| }
|
|
|
| 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>
|
|
|