Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3db235b

Browse filesBrowse files
anonrigdanielleadams
authored andcommitted
url: remove unused kFormat from url
PR-URL: #46867 Backport-PR-URL: #48345 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>
1 parent 5d910ca commit 3db235b
Copy full SHA for 3db235b

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Collapse file

‎lib/internal/url.js‎

Copy file name to clipboardExpand all lines: lib/internal/url.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ const FORWARD_SLASH = /\//g;
103103

104104
const context = Symbol('context');
105105
const searchParams = Symbol('query');
106-
const kFormat = Symbol('format');
107106

108107
const updateActions = {
109108
kProtocol: 0,
@@ -815,7 +814,6 @@ class URL {
815814
}
816815

817816
ObjectDefineProperties(URL.prototype, {
818-
[kFormat]: { __proto__: null, configurable: false, writable: false },
819817
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
820818
toString: kEnumerableProperty,
821819
href: kEnumerableProperty,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.