| Index: LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html b/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html
|
| index 42e375b9ba180b27f17c428f046fa1c1b0a70b6a..b5e8c100dd7e2100c0b1842beb6234b6a2e6a44c 100644
|
| --- a/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events.html
|
| @@ -16,6 +16,7 @@ function log(message)
|
|
|
| var sawProgress;
|
| var sawUploadProgress;
|
| +var canSeeUploadProgress = false;
|
|
|
| function progress(evt)
|
| {
|
| @@ -27,7 +28,7 @@ function progress(evt)
|
| function uploadProgress(evt)
|
| {
|
| if (!sawUploadProgress)
|
| - log("FAIL: upload.onprogress");
|
| + log((canSeeUploadProgress ? "" : "FAIL: ") + "upload.onprogress");
|
| sawUploadProgress = true;
|
| }
|
|
|
| @@ -90,6 +91,7 @@ function test3()
|
| {
|
| sawProgress = false;
|
| sawUploadProgress = false;
|
| + canSeeUploadProgress = true;
|
|
|
| log("\nTest 3: The URL is not allowed for cross-origin requests and at least one upload event is listened for before doing the send.");
|
|
|
|
|