Index: LayoutTests/http/tests/xmlhttprequest/onloadend-event-after-sync-requests.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/onloadend-event-after-sync-requests.html b/LayoutTests/http/tests/xmlhttprequest/onloadend-event-after-sync-requests.html |
index 50fdf9430c70bedcc4d2289f58e9ff3ccf47595a..b4dd1ead422f9f73b0b2f347ebf1e132ec249342 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/onloadend-event-after-sync-requests.html |
+++ b/LayoutTests/http/tests/xmlhttprequest/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 a load or abort ProgressEvent when a synchronous request completes normally or is aborted respectively.</p> |
+<p> Verify that a loadend ProgressEvent is dispatched after a load ProgressEvent when a synchronous request completes normally.<br/> |
+Verify that a loadend ProgressEvent is not dispatched after abort() is called when a synchronous request completes normally.</p> |
<p>PASS PASS PASS should appear below:</p> |
<p id=console></p> |
<script type="text/javascript"> |
@@ -81,7 +82,7 @@ function testAbort() |
results = ""; |
xhr.onloadstart = logUnexpectedProgressEvent; |
- xhr.onabort = logProgressEvent; |
+ xhr.onabort = logUnexpectedProgressEvent; |
xhr.onerror = logUnexpectedProgressEvent; |
xhr.onload = logUnexpectedProgressEvent; |
xhr.onloadend = logProgressEvent; |
@@ -99,7 +100,7 @@ function testAbort() |
results += " " + e; |
} |
- completeTest(" abort loadend"); |
+ completeTest(""); |
} |
testNormal(); |