summaryrefslogtreecommitdiffstats
path: root/dom/xhr/XMLHttpRequestMainThread.h
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-14 03:19:49 -0400
committerGitHub <noreply@github.com>2018-04-14 03:19:49 -0400
commitc73c73b7978d7fc12e0dc07bb7c8f3babd497b8c (patch)
tree83a7c01fdc30d17a884c5c482bec51e60390c9e4 /dom/xhr/XMLHttpRequestMainThread.h
parent63d482639cef4e5df364d707a21660c36b576f7b (diff)
parentee15761a5073435d10aba49b3a11245e8331635d (diff)
downloadUXP-c73c73b7978d7fc12e0dc07bb7c8f3babd497b8c.tar
UXP-c73c73b7978d7fc12e0dc07bb7c8f3babd497b8c.tar.gz
UXP-c73c73b7978d7fc12e0dc07bb7c8f3babd497b8c.tar.lz
UXP-c73c73b7978d7fc12e0dc07bb7c8f3babd497b8c.tar.xz
UXP-c73c73b7978d7fc12e0dc07bb7c8f3babd497b8c.zip
Merge pull request #131 from janekptacijarabaci/js_dom_xmlhttprequest_abort_1
Aligned XMLHttpRequest abort() with the spec
Diffstat (limited to 'dom/xhr/XMLHttpRequestMainThread.h')
-rw-r--r--dom/xhr/XMLHttpRequestMainThread.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -397,6 +397,11 @@ public:
}
void
+ RequestErrorSteps(const ProgressEventType aEventType,
+ const nsresult aOptionalException,
+ ErrorResult& aRv);
+
+ void
Abort() {
ErrorResult rv;
Abort(rv);