summaryrefslogtreecommitdiff
path: root/ext/url
diff options
context:
space:
mode:
Diffstat (limited to 'ext/url')
-rw-r--r--ext/url/00_url.js4
-rw-r--r--ext/url/01_urlpattern.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index 65cde2ce2..ce366a27a 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -324,7 +324,7 @@ class URLSearchParams {
webidl.mixinPairIterable("URLSearchParams", URLSearchParams, _list, 0, 1);
-webidl.configurePrototype(URLSearchParams);
+webidl.configureInterface(URLSearchParams);
const URLSearchParamsPrototype = URLSearchParams.prototype;
webidl.converters["URLSearchParams"] = webidl.createInterfaceConverter(
@@ -806,7 +806,7 @@ class URL {
}
}
-webidl.configurePrototype(URL);
+webidl.configureInterface(URL);
const URLPrototype = URL.prototype;
/**
diff --git a/ext/url/01_urlpattern.js b/ext/url/01_urlpattern.js
index e6d21e49d..0cabccc1b 100644
--- a/ext/url/01_urlpattern.js
+++ b/ext/url/01_urlpattern.js
@@ -238,7 +238,7 @@ class URLPattern {
}
}
-webidl.configurePrototype(URLPattern);
+webidl.configureInterface(URLPattern);
const URLPatternPrototype = URLPattern.prototype;
webidl.converters.URLPatternInit = webidl