Commit 25e7733
[Origin API] Drop
After discussion with Anne in [1], it makes sense to drop conversions
from `Location` and `WorkerLocation` objects via `Origin.from()`. Those
can meaningfully differ from the origin of the context to which they
belong due to sandboxing, and we should encourage developers to use the
right `Origin` representation going forward.
[1]: whatwg/html#11846 (comment)
Bug: 434131026
Change-Id: Ie8101ac9743767a32c109b83bdc82c9bb715d3b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7186344
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1549657}Location and WorkerLocation conversions.1 parent 1b59c6e commit 25e7733
File tree
1 file changed
+2
-40
lines changed- html/browsers/origin/tentative/api
1 file changed
+2
-40
lines changedLines changed: 2 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 5 | + | |
| 6 | + | |
22 | 7 | | |
23 | 8 | | |
24 | 9 | | |
| |||
28 | 13 | | |
29 | 14 | | |
30 | 15 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
0 commit comments