From 37f27b31b47be500770bef8664361ed97d553863 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 27 Feb 2023 21:40:22 +0100 Subject: [PATCH] url: remove unnecessary call to `FunctionPrototypeBind` --- lib/internal/url.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/internal/url.js b/lib/internal/url.js index c4640a68b28d23..e7ff733f641e09 100644 --- a/lib/internal/url.js +++ b/lib/internal/url.js @@ -7,7 +7,6 @@ const { ArrayPrototypePush, ArrayPrototypeReduce, ArrayPrototypeSlice, - FunctionPrototypeBind, Int8Array, IteratorPrototype, Number, @@ -545,7 +544,6 @@ class URL { // toUSVString is not needed. input = `${input}`; this[context] = new URLContext(); - this.#onParseComplete = FunctionPrototypeBind(this.#onParseComplete, this); if (base !== undefined) { base = `${base}`;