url: remove unused kFormat from url

PR-URL: https://github.com/nodejs/node/pull/46867
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
Yagiz Nizipli authored and Michaël Zasso committed 2023-03-14 07:54:02 +01:00
1 parent 32bd38fb05
commit f8765be197
1 file changed
-2
-2
View File
@@ -101,7 +101,6 @@ const FORWARD_SLASH = /\//g;
const context = Symbol('context');
const searchParams = Symbol('query');
const kFormat = Symbol('format');
const updateActions = {
kProtocol: 0,
@@ -794,7 +793,6 @@ class URL {
}
ObjectDefineProperties(URL.prototype, {
[kFormat]: { __proto__: null, configurable: false, writable: false },
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
toString: kEnumerableProperty,
href: kEnumerableProperty,