summaryrefslogtreecommitdiff
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
commit77e95190d90cd5910d98f00ed6a6ac0968ee0c4e (patch)
treebb32fdeb92e178cf7ff76dbf49f051eb60a28532 /dom/fetch/Response.h
parent6804c95e3eaacfaaa12e7965fa43dc89452d9210 (diff)
downloaduxp-77e95190d90cd5910d98f00ed6a6ac0968ee0c4e.tar.gz
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 64b3c5f451..de367bef68 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