moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status

https://github.com/MoonchildProductions/moebius/issues/312
This commit is contained in:
janekptacijarabaci 2018-04-24 11:47:08 +02:00 • committed by Roy Tam
commit 41ad5496ae
4 changed files with 11 additions and 6 deletions

View file

@ -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