Skip to content

Commit

Permalink
url: remove unused kFormat from url
Browse files Browse the repository at this point in the history
PR-URL: #46867
Backport-PR-URL: #48345
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
  • Loading branch information
anonrig authored and danielleadams committed Jul 12, 2023
1 parent 5d910ca commit 3db235b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const FORWARD_SLASH = /\//g;

const context = Symbol('context');
const searchParams = Symbol('query');
const kFormat = Symbol('format');

const updateActions = {
kProtocol: 0,
Expand Down Expand Up @@ -815,7 +814,6 @@ class URL {
}

ObjectDefineProperties(URL.prototype, {
[kFormat]: { __proto__: null, configurable: false, writable: false },
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
toString: kEnumerableProperty,
href: kEnumerableProperty,
Expand Down

0 comments on commit 3db235b

Please sign in to comment.