summaryrefslogtreecommitdiffstats
path: root/dom/xhr/XMLHttpRequestMainThread.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-15 19:18:30 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-15 19:18:30 +0100
commitee15761a5073435d10aba49b3a11245e8331635d (patch)
tree7bb3257c4561acb47acb3e92f0386ef291911daf /dom/xhr/XMLHttpRequestMainThread.h
parent0d3ee51ad2d61bffba14232b2df913d3a773d771 (diff)
downloadUXP-ee15761a5073435d10aba49b3a11245e8331635d.tar
UXP-ee15761a5073435d10aba49b3a11245e8331635d.tar.gz
UXP-ee15761a5073435d10aba49b3a11245e8331635d.tar.lz
UXP-ee15761a5073435d10aba49b3a11245e8331635d.tar.xz
UXP-ee15761a5073435d10aba49b3a11245e8331635d.zip
Bug 1311798: Align 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);