Commit 01ad8de
url,lib: pass urlsearchparams-constructor.any.js
According to WPT:
1. `URLSearchParams` constructor should throw exactly `TypeError` if any
Error occurrs.
2. When a record passed to `URLSearchParams` constructor, two different
key may result same after `toUVString()`. We should leave only the
later one.
PR-URL: #41197
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>1 parent 524103d commit 01ad8deCopy full SHA for 01ad8de
File tree
Expand file treeCollapse file tree
4 files changed
+44
-13
lines changedOpen diff view settings
Filter options
- lib/internal
- per_context
- test/wpt
- status
Expand file treeCollapse file tree
4 files changed
+44
-13
lines changedOpen diff view settings
Collapse file
lib/internal/per_context/domexception.js
Copy file name to clipboardExpand all lines: lib/internal/per_context/domexception.js+24-9Lines changed: 24 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
19 | 34 | |
20 | 35 | |
21 | 36 | |
| ||
51 | 66 | |
52 | 67 | |
53 | 68 | |
54 | | - |
| 69 | + |
55 | 70 | |
56 | 71 | |
57 | 72 | |
| ||
60 | 75 | |
61 | 76 | |
62 | 77 | |
63 | | - |
| 78 | + |
64 | 79 | |
65 | 80 | |
66 | 81 | |
| ||
69 | 84 | |
70 | 85 | |
71 | 86 | |
72 | | - |
| 87 | + |
73 | 88 | |
74 | 89 | |
75 | 90 | |
|
Collapse file
+11-1Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
219 | 219 | |
220 | 220 | |
221 | 221 | |
| 222 | + |
222 | 223 | |
223 | 224 | |
224 | 225 | |
| ||
227 | 228 | |
228 | 229 | |
229 | 230 | |
230 | | - |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
231 | 241 | |
232 | 242 | |
233 | 243 | |
|
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
17 | | - |
18 | 15 | |
19 | 16 | |
20 | 17 | |
|
Collapse file
+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
14 | 23 | |
15 | 24 | |
16 | 25 | |
|
0 commit comments