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 f8765be

Browse filesBrowse files
anonrigtargos
authored andcommitted
url: remove unused kFormat from url
PR-URL: #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>
1 parent 32bd38f commit f8765be
Copy full SHA for f8765be

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
@@ -101,7 +101,6 @@ const FORWARD_SLASH = /\//g;
101101

102102
const context = Symbol('context');
103103
const searchParams = Symbol('query');
104-
const kFormat = Symbol('format');
105104

106105
const updateActions = {
107106
kProtocol: 0,
@@ -794,7 +793,6 @@ class URL {
794793
}
795794

796795
ObjectDefineProperties(URL.prototype, {
797-
[kFormat]: { __proto__: null, configurable: false, writable: false },
798796
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
799797
toString: kEnumerableProperty,
800798
href: kEnumerableProperty,

0 commit comments

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