summaryrefslogtreecommitdiffstats
path: root/dom/xhr/XMLHttpRequestWorker.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/XMLHttpRequestWorker.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/XMLHttpRequestWorker.h')
-rw-r--r--dom/xhr/XMLHttpRequestWorker.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dom/xhr/XMLHttpRequestWorker.h b/dom/xhr/XMLHttpRequestWorker.h
index 90232fe85..c6647f8f3 100644
--- a/dom/xhr/XMLHttpRequestWorker.h
+++ b/dom/xhr/XMLHttpRequestWorker.h
@@ -34,15 +34,16 @@ public:
uint32_t mStatus;
nsCString mStatusText;
uint16_t mReadyState;
+ bool mFlagSend;
JS::Heap<JS::Value> mResponse;
nsresult mResponseTextResult;
nsresult mStatusResult;
nsresult mResponseResult;
StateData()
- : mStatus(0), mReadyState(0), mResponse(JS::UndefinedValue()),
- mResponseTextResult(NS_OK), mStatusResult(NS_OK),
- mResponseResult(NS_OK)
+ : mStatus(0), mReadyState(0), mFlagSend(false),
+ mResponse(JS::UndefinedValue()), mResponseTextResult(NS_OK),
+ mStatusResult(NS_OK), mResponseResult(NS_OK)
{ }
void trace(JSTracer* trc);