From ee15761a5073435d10aba49b3a11245e8331635d Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Thu, 15 Mar 2018 19:18:30 +0100 Subject: Bug 1311798: Align XMLHttpRequest abort() with the spec --- dom/xhr/XMLHttpRequestMainThread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dom/xhr/XMLHttpRequestMainThread.h') diff --git a/dom/xhr/XMLHttpRequestMainThread.h b/dom/xhr/XMLHttpRequestMainThread.h index c9bcddf99..68499874a 100644 --- a/dom/xhr/XMLHttpRequestMainThread.h +++ b/dom/xhr/XMLHttpRequestMainThread.h @@ -396,6 +396,11 @@ public: aRv = SendInternal(&body); } + void + RequestErrorSteps(const ProgressEventType aEventType, + const nsresult aOptionalException, + ErrorResult& aRv); + void Abort() { ErrorResult rv; -- cgit v1.2.3