Skip to content

Commit b8560ec

Browse files
aduh95targos
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 f9739a8 commit b8560ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/url.js

-2
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,
@@ -544,7 +543,6 @@ class URL {
544543
// toUSVString is not needed.
545544
input = `${input}`;
546545
this[context] = new URLContext();
547-
this.#onParseComplete = FunctionPrototypeBind(this.#onParseComplete, this);
548546

549547
if (base !== undefined) {
550548
base = `${base}`;

0 commit comments

Comments
 (0)