summaryrefslogtreecommitdiff
path: root/ext/fetch/26_fetch.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-09-21 18:51:56 +0200
committerGitHub <noreply@github.com>2021-09-21 18:51:56 +0200
commit22a6f4166e1f3d019826715b7f63b3e2daf0b4e4 (patch)
tree9ec2b5f487948c204712cecd53d648651cb94c46 /ext/fetch/26_fetch.js
parent0aa6fefce72bfb86dce00b61e72201d363e0bcff (diff)
cleanup(ext/fetch): drop redundant webidl converters in fetch() (#12167)
Since those inputs are passed to `new Request(...)` which applies webidl converters
Diffstat (limited to 'ext/fetch/26_fetch.js')
-rw-r--r--ext/fetch/26_fetch.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js
index 295ee8544..f74726242 100644
--- a/ext/fetch/26_fetch.js
+++ b/ext/fetch/26_fetch.js
@@ -412,15 +412,6 @@
const p = new Promise((resolve, reject) => {
const prefix = "Failed to call 'fetch'";
webidl.requiredArguments(arguments.length, 1, { prefix });
- input = webidl.converters["RequestInfo"](input, {
- prefix,
- context: "Argument 1",
- });
- init = webidl.converters["RequestInit"](init, {
- prefix,
- context: "Argument 2",
- });
-
// 2.
const requestObject = new Request(input, init);
// 3.