Commit 526163c
url: introduce
Introduce `URL_FLAGS_IS_DEFAULT_SCHEME_PORT` flag which is retured
when the parser detects that the port passed is the default port
for that scheme.
PR-URL: #20479
Fixes: #20465
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>URL_FLAGS_IS_DEFAULT_SCHEME_PORT flag1 parent ed5f253 commit 526163cCopy full SHA for 526163c
File tree
Expand file treeCollapse file tree
4 files changed
+18
-3
lines changedOpen diff view settings
Filter options
- lib/internal
- src
- test/fixtures
Expand file treeCollapse file tree
4 files changed
+18
-3
lines changedOpen diff view settings
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
| 49 | + |
49 | 50 | |
50 | 51 | |
51 | 52 | |
| ||
276 | 277 | |
277 | 278 | |
278 | 279 | |
279 | | - |
| 280 | + |
280 | 281 | |
281 | 282 | |
282 | 283 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1749 | 1749 | |
1750 | 1750 | |
1751 | 1751 | |
| 1752 | + |
| 1753 | + |
1752 | 1754 | |
1753 | 1755 | |
1754 | 1756 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
| 54 | + |
54 | 55 | |
55 | 56 | |
56 | 57 | |
|
Collapse file
test/fixtures/url-setter-tests.js
Copy file name to clipboardExpand all lines: test/fixtures/url-setter-tests.js+12-1Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
| ||
727 | 727 | |
728 | 728 | |
729 | 729 | |
| 730 | + |
| 731 | + |
| 732 | + |
| 733 | + |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
| 738 | + |
| 739 | + |
| 740 | + |
730 | 741 | |
731 | 742 | |
732 | 743 | |
|
0 commit comments