summaryrefslogtreecommitdiffstats
path: root/dom/fetch/Response.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 11:47:08 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 11:47:08 +0200
commit27e021136b6e58143f95ff3df37b58ed699e8b06 (patch)
treebb32fdeb92e178cf7ff76dbf49f051eb60a28532 /dom/fetch/Response.h
parentbccb9c1708f007ada1ea8c4879db88a587f0a450 (diff)
downloadUXP-27e021136b6e58143f95ff3df37b58ed699e8b06.tar
UXP-27e021136b6e58143f95ff3df37b58ed699e8b06.tar.gz
UXP-27e021136b6e58143f95ff3df37b58ed699e8b06.tar.lz
UXP-27e021136b6e58143f95ff3df37b58ed699e8b06.tar.xz
UXP-27e021136b6e58143f95ff3df37b58ed699e8b06.zip
moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status
https://github.com/MoonchildProductions/moebius/issues/312
Diffstat (limited to 'dom/fetch/Response.h')
-rw-r--r--dom/fetch/Response.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Response.h b/dom/fetch/Response.h
index 64b3c5f45..de367bef6 100644
--- a/dom/fetch/Response.h
+++ b/dom/fetch/Response.h
@@ -114,7 +114,7 @@ public:
static already_AddRefed<Response>
Constructor(const GlobalObject& aGlobal,
- const Optional<ArrayBufferOrArrayBufferViewOrBlobOrFormDataOrUSVStringOrURLSearchParams>& aBody,
+ const Optional<Nullable<ArrayBufferOrArrayBufferViewOrBlobOrFormDataOrUSVStringOrURLSearchParams>>& aBody,
const ResponseInit& aInit, ErrorResult& rv);
nsIGlobalObject* GetParentObject() const