summaryrefslogtreecommitdiff
path: root/dom/xhr/XMLHttpRequestWorker.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/XMLHttpRequestWorker.h
parent0d3ee51ad2d61bffba14232b2df913d3a773d771 (diff)
downloaduxp-ee15761a5073435d10aba49b3a11245e8331635d.tar.gz
Bug 1311798: Align 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 90232fe855..c6647f8f36 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);