Commit fd3bf38
url: align default argument handling for URLPattern with webidl
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: #62719
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent c73c8e6 commit fd3bf38Copy full SHA for fd3bf38
6 files changed
+216-47Lines changed: 216 additions & 47 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- test
- fixtures/wpt
- urlpattern
- resources
- parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+58-37Lines changed: 58 additions & 37 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
202 | 202 | |
203 | 203 | |
204 | 204 | |
205 | | - |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
206 | 210 | |
207 | 211 | |
208 | 212 | |
| ||
217 | 221 | |
218 | 222 | |
219 | 223 | |
220 | | - |
221 | | - |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
222 | 232 | |
223 | 233 | |
224 | 234 | |
225 | 235 | |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
235 | 240 | |
236 | | - |
237 | | - |
| 241 | + |
238 | 242 | |
239 | 243 | |
240 | 244 | |
241 | | - |
242 | | - |
| 245 | + |
| 246 | + |
| 247 | + |
243 | 248 | |
244 | 249 | |
245 | 250 | |
246 | 251 | |
247 | 252 | |
248 | 253 | |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
255 | 273 | |
256 | 274 | |
257 | 275 | |
| ||
493 | 511 | |
494 | 512 | |
495 | 513 | |
496 | | - |
497 | | - |
498 | | - |
499 | | - |
500 | | - |
| 514 | + |
| 515 | + |
501 | 516 | |
502 | 517 | |
503 | 518 | |
| ||
564 | 579 | |
565 | 580 | |
566 | 581 | |
567 | | - |
| 582 | + |
568 | 583 | |
569 | 584 | |
570 | 585 | |
| ||
580 | 595 | |
581 | 596 | |
582 | 597 | |
583 | | - |
584 | | - |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
585 | 605 | |
586 | 606 | |
587 | 607 | |
588 | | - |
589 | | - |
590 | 608 | |
591 | 609 | |
592 | 610 | |
| ||
607 | 625 | |
608 | 626 | |
609 | 627 | |
610 | | - |
| 628 | + |
611 | 629 | |
612 | 630 | |
613 | 631 | |
| ||
623 | 641 | |
624 | 642 | |
625 | 643 | |
626 | | - |
627 | | - |
| 644 | + |
| 645 | + |
| 646 | + |
| 647 | + |
| 648 | + |
| 649 | + |
| 650 | + |
628 | 651 | |
629 | 652 | |
630 | 653 | |
631 | | - |
632 | | - |
633 | 654 | |
634 | 655 | |
635 | 656 | |
|
Collapse file
test/fixtures/wpt/README.md
Copy file name to clipboardExpand all lines: test/fixtures/wpt/README.md+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
|
Collapse file
test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json
Copy file name to clipboardExpand all lines: test/fixtures/wpt/urlpattern/resources/urlpatterntestdata.json+36Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3118 | 3118 | |
3119 | 3119 | |
3120 | 3120 | |
| 3121 | + |
| 3122 | + |
| 3123 | + |
| 3124 | + |
| 3125 | + |
| 3126 | + |
| 3127 | + |
| 3128 | + |
| 3129 | + |
| 3130 | + |
| 3131 | + |
| 3132 | + |
| 3133 | + |
| 3134 | + |
| 3135 | + |
| 3136 | + |
| 3137 | + |
| 3138 | + |
| 3139 | + |
| 3140 | + |
| 3141 | + |
| 3142 | + |
| 3143 | + |
| 3144 | + |
| 3145 | + |
| 3146 | + |
| 3147 | + |
| 3148 | + |
| 3149 | + |
| 3150 | + |
| 3151 | + |
| 3152 | + |
| 3153 | + |
| 3154 | + |
| 3155 | + |
| 3156 | + |
3121 | 3157 | |
3122 | 3158 | |
Collapse file
…t/urlpattern/urlpattern-constructor.html …urlpattern/urlpattern-constructor.any.jstest/fixtures/wpt/urlpattern/urlpattern-constructor.html renamed to test/fixtures/wpt/urlpattern/urlpattern-constructor.any.js test/fixtures/wpt/urlpattern/urlpattern-constructor.html renamed to test/fixtures/wpt/urlpattern/urlpattern-constructor.any.js
Copy file name to clipboard+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
3 | | - |
4 | | - |
| 1 | + |
5 | 2 | |
6 | 3 | |
7 | 4 | |
| ||
11 | 8 | |
12 | 9 | |
13 | 10 | |
14 | | - |
Collapse file
test/fixtures/wpt/versions.json
Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
79 | | - |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
|
Collapse file
test/parallel/test-urlpattern-types.js
Copy file name to clipboardExpand all lines: test/parallel/test-urlpattern-types.js+119-3Lines changed: 119 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
14 | 15 | |
15 | 16 | |
| 17 | + |
16 | 18 | |
17 | 19 | |
18 | 20 | |
19 | 21 | |
| 22 | + |
20 | 23 | |
21 | 24 | |
22 | 25 | |
23 | 26 | |
| 27 | + |
24 | 28 | |
25 | 29 | |
26 | | - |
27 | | - |
28 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
29 | 43 | |
30 | 44 | |
31 | 45 | |
32 | 46 | |
33 | 47 | |
| 48 | + |
34 | 49 | |
35 | 50 | |
36 | 51 | |
37 | 52 | |
| 53 | + |
38 | 54 | |
39 | 55 | |
40 | 56 | |
41 | 57 | |
| 58 | + |
42 | 59 | |
43 | 60 | |
44 | 61 | |
45 | 62 | |
| 63 | + |
46 | 64 | |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
0 commit comments