| Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html
|
| index 806a34ee0a811b3e7c1cce14b474e063f61a982e..63367b378ce052bfaf3ed3ff5251f6bcf6040e2c 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-onProgress-open-should-zero-length.html
|
| @@ -14,7 +14,7 @@ function log (msg)
|
| }
|
|
|
| function onProgress(e) {
|
| - if (e.position >= resourceSize / 4) {
|
| + if (e.loaded >= resourceSize / 4) {
|
| // We want to restart the XMLHttpRequest to see if the count is updated
|
| var xhr = e.target;
|
| xhr.onprogress = onProgressTest;
|
| @@ -25,7 +25,7 @@ function onProgress(e) {
|
| }
|
|
|
| function onProgressTest(e) {
|
| - lastPosition = e.position;
|
| + lastPosition = e.loaded;
|
| }
|
|
|
| function onReadyStateChange() {
|
|
|