aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Response.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Response.webidl')
-rw-r--r--components/script/dom/webidls/Response.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/Response.webidl b/components/script/dom/webidls/Response.webidl
index 4452af3ce69..0ced0c13794 100644
--- a/components/script/dom/webidls/Response.webidl
+++ b/components/script/dom/webidls/Response.webidl
@@ -4,9 +4,9 @@
// https://fetch.spec.whatwg.org/#response-class
- [Constructor(optional BodyInit? body = null, optional ResponseInit init = {}),
- Exposed=(Window,Worker)]
+ [Exposed=(Window,Worker)]
interface Response {
+ [Throws] constructor(optional BodyInit? body = null, optional ResponseInit init = {});
[NewObject] static Response error();
[NewObject, Throws] static Response redirect(USVString url, optional unsigned short status = 302);