summaryrefslogtreecommitdiff
path: root/dom/webidl/Response.webidl
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/webidl/Response.webidl
parentbccb9c1708f007ada1ea8c4879db88a587f0a450 (diff)
downloaduxp-27e021136b6e58143f95ff3df37b58ed699e8b06.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/webidl/Response.webidl')
-rw-r--r--dom/webidl/Response.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webidl/Response.webidl b/dom/webidl/Response.webidl
index 8713146aa4..08f31fe29a 100644
--- a/dom/webidl/Response.webidl
+++ b/dom/webidl/Response.webidl
@@ -7,7 +7,7 @@
* https://fetch.spec.whatwg.org/#response-class
*/
-[Constructor(optional BodyInit body, optional ResponseInit init),
+[Constructor(optional BodyInit? body, optional ResponseInit init),
Exposed=(Window,Worker)]
interface Response {
[NewObject] static Response error();