Skip to content

Commit 972c851

Browse files
aduh95danielleadams
authored andcommitted
url: remove unnecessary call to FunctionPrototypeBind
PR-URL: #46870 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent b3b7dbc commit 972c851

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/url.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const {
77
ArrayPrototypePush,
88
ArrayPrototypeReduce,
99
ArrayPrototypeSlice,
10-
FunctionPrototypeBind,
1110
Int8Array,
1211
IteratorPrototype,
1312
Number,
@@ -546,7 +545,6 @@ class URL {
546545
// toUSVString is not needed.
547546
input = `${input}`;
548547
this[context] = new URLContext();
549-
this.#onParseComplete = FunctionPrototypeBind(this.#onParseComplete, this);
550548

551549
if (base !== undefined) {
552550
base = `${base}`;

0 commit comments

Comments
 (0)