Skip to content

Commit

Permalink
XHR: no headers received event for a network error
Browse files Browse the repository at this point in the history
Closes #8049.
  • Loading branch information
annevk committed Mar 23, 2019
1 parent 5a8082c commit 4cc42c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhr/event-error-order.sub.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
xhr.addEventListener("loadend", function() {
test.step(function() {
// no progress events due to CORS failure
assert_xhr_event_order_matches([1, "loadstart(0,0,false)", "upload.loadstart(0,12,true)", 2, 4, "upload.error(0,0,false)", "upload.loadend(0,0,false)", "error(0,0,false)", "loadend(0,0,false)"]);
assert_xhr_event_order_matches([1, "loadstart(0,0,false)", "upload.loadstart(0,12,true)", 4, "upload.error(0,0,false)", "upload.loadend(0,0,false)", "error(0,0,false)", "loadend(0,0,false)"]);
test.done();
});
});
Expand Down

0 comments on commit 4cc42c3

Please sign in to comment.