From 4cc42c364b7a66cc9e4e3591d9558cad51ba8286 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 4 Oct 2018 17:11:13 +0200 Subject: [PATCH] XHR: no headers received event for a network error Closes #8049. --- xhr/event-error-order.sub.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhr/event-error-order.sub.html b/xhr/event-error-order.sub.html index 252a90bb6214bc..f03707eb98d7f5 100644 --- a/xhr/event-error-order.sub.html +++ b/xhr/event-error-order.sub.html @@ -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(); }); });