Commit 4f45948
authored
tests/common-utils: parse query string w/ URLSearchParams (#8779)
* previous parsing was manual
* switch from using `document.location` to more-standard `window.location`
* currently this PR re-implements surprising details of old implementation
Original mapping of empty strings to `true` looks like it was introduced in 2f7b57b.1 parent 775b2e1 commit 4f45948
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments