summaryrefslogtreecommitdiff
path: root/ext/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fetch')
-rw-r--r--ext/fetch/20_headers.js2
-rw-r--r--ext/fetch/21_formdata.js2
-rw-r--r--ext/fetch/23_request.js2
-rw-r--r--ext/fetch/23_response.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js
index a004daa89..b99758de5 100644
--- a/ext/fetch/20_headers.js
+++ b/ext/fetch/20_headers.js
@@ -453,7 +453,7 @@ class Headers {
webidl.mixinPairIterable("Headers", Headers, _iterableHeaders, 0, 1);
-webidl.configurePrototype(Headers);
+webidl.configureInterface(Headers);
const HeadersPrototype = Headers.prototype;
webidl.converters["HeadersInit"] = (V, prefix, context, opts) => {
diff --git a/ext/fetch/21_formdata.js b/ext/fetch/21_formdata.js
index d905ec7c4..84d31898e 100644
--- a/ext/fetch/21_formdata.js
+++ b/ext/fetch/21_formdata.js
@@ -266,7 +266,7 @@ class FormData {
webidl.mixinPairIterable("FormData", FormData, entryList, "name", "value");
-webidl.configurePrototype(FormData);
+webidl.configureInterface(FormData);
const FormDataPrototype = FormData.prototype;
const ESCAPE_FILENAME_PATTERN = new SafeRegExp(/\r?\n|\r/g);
diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js
index c09bd4880..a59bfb29d 100644
--- a/ext/fetch/23_request.js
+++ b/ext/fetch/23_request.js
@@ -497,7 +497,7 @@ class Request {
}
}
-webidl.configurePrototype(Request);
+webidl.configureInterface(Request);
const RequestPrototype = Request.prototype;
mixinBody(RequestPrototype, _body, _mimeType);
diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js
index 73a90166d..83fad403a 100644
--- a/ext/fetch/23_response.js
+++ b/ext/fetch/23_response.js
@@ -426,7 +426,7 @@ class Response {
}
}
-webidl.configurePrototype(Response);
+webidl.configureInterface(Response);
ObjectDefineProperties(Response, {
json: { enumerable: true },
redirect: { enumerable: true },