Index: LayoutTests/http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html b/LayoutTests/http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html |
index caf552c5fa210d21238bb6754090dab9c895eadf..0c143724107e90173c4fd82205d829b807a04a96 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html |
+++ b/LayoutTests/http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html |
@@ -4,7 +4,8 @@ |
</head> |
<body> |
<p> Test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=40952"> bug 40952</a>: Onloadend event is not supported in XMLHttpRequest</p> |
-<p> Verify that a loadend ProgressEvent is dispatched after the load or abort ProgressEvent when a synchronous upload request completes normally or is aborted.</p> |
+<p> Verify that a loadend ProgressEvent is dispatched after load ProgressEvent when a synchronous upload request completes normally.<br/> |
+Verify that a loadend ProgressEvent is not dispatched after abort() is called on completed request.</p> |
<p>PASS PASS should appear below:</p> |
<p id=console></p> |
<script type="text/javascript"> |
@@ -59,7 +60,7 @@ function testAbort() |
results = ""; |
xhr.onloadstart = logUnexpectedProgressEvent; |
- xhr.onabort = logProgressEvent; |
+ xhr.onabort = logUnexpectedProgressEvent; |
xhr.onerror = logUnexpectedProgressEvent; |
xhr.onload = logUnexpectedProgressEvent; |
xhr.onloadend = logProgressEvent; |
@@ -77,7 +78,7 @@ function testAbort() |
results += " " + e; |
} |
- completeTest(" abort loadend"); |
+ completeTest(""); |
} |
testNormal(); |