summaryrefslogtreecommitdiff
path: root/ext/url/00_url.js
diff options
context:
space:
mode:
authorPhosra <phosra@tutanota.com>2022-07-28 04:18:17 -0700
committerGitHub <noreply@github.com>2022-07-28 13:18:17 +0200
commit519ed44ebb4bab71c6b80f7c1ef432354654da8c (patch)
treeb28d4700e934495dfedaa96c4b6e1c6093616b51 /ext/url/00_url.js
parent5d263c932faf210f5b7a1e448a8eb26a2ac3ba68 (diff)
fix(ext/fetch): resolve TODOs about WebIDL conversions in body init (#15312)
Diffstat (limited to 'ext/url/00_url.js')
-rw-r--r--ext/url/00_url.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index 4e6c7ac47..06630a2d0 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -300,6 +300,11 @@
webidl.configurePrototype(URLSearchParams);
const URLSearchParamsPrototype = URLSearchParams.prototype;
+ webidl.converters["URLSearchParams"] = webidl.createInterfaceConverter(
+ "URLSearchParams",
+ URLSearchParamsPrototype,
+ );
+
const _url = Symbol("url");
class URL {