Commit 9aa13c3
[Origin API] Drop string parsers beyond
Earlier versions of this API parsed strings into `Origin` objects via
the constructor, `fromURL()` and `parse()`. We've since coalesced all of
these into `Origin.from(...)` after discussion in [1].
This CL removes these variants from our implementation, and adjusts
tests accordingly.
[1]: whatwg/html#11846
Bug: 434131026
Change-Id: I8be1e1a0923b2cd48dcc7a0f80358237ecc9b88c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204253
Commit-Queue: Mike West <[email protected]>
Reviewed-by: Antonio Sartori <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550470}.from(...).1 parent 218e07d commit 9aa13c3
File tree
4 files changed
+12
-163
lines changed- html/browsers/origin/tentative/api
- interfaces
4 files changed
+12
-163
lines changedLines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | | - | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
0 commit comments