Test case for bug 40952: Onloadend event is not supported in XMLHttpRequest

Verify that a loadend ProgressEvent is dispatched after the error ProgressEvent when an async request fails.

PASS should appear below: