summaryrefslogtreecommitdiff
path: root/lib/url.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.js')
-rw-r--r--lib/url.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.js b/lib/url.js
index c517ba7ab3..3a2c3c01ea 100644
--- a/lib/url.js
+++ b/lib/url.js
@@ -30,6 +30,8 @@ const {
ERR_INVALID_ARG_TYPE
} = require('internal/errors').codes;
+// This ensures setURLConstructor() is called before the native
+// URL::ToObject() method is used.
const { spliceOne } = require('internal/util');
// WHATWG URL implementation provided by internal/url