Commit fb160c4
authored
The [specification] says that `about:blank` and `about:srcdoc` should
inherit their source origin. This means that instead of always creating
a new opaque origin in the parser for these kind of pages, we should try
harder to preserve the source origin.
[specification]:
https://html.spec.whatwg.org/multipage/#determining-the-origin
Testing: This will cause more tests to pass once #47632 lands.
---------
Signed-off-by: Martin Robinson <mrobinson@abandonedwig.info>
Signed-off-by: Martin Robinson <martin@abandonedwig.info>
1 parent c406ade commit fb160c4
10 files changed
Lines changed: 48 additions & 41 deletions
File tree
- components/script
- dom/servoparser
- event_loop
- tests/wpt/meta/html/browsers
- origin
- inheritance
- relaxing-the-same-origin-restriction
- windows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
940 | 945 | | |
941 | 946 | | |
942 | 947 | | |
| |||
948 | 953 | | |
949 | 954 | | |
950 | 955 | | |
951 | | - | |
| 956 | + | |
952 | 957 | | |
953 | 958 | | |
954 | 959 | | |
| |||
969 | 974 | | |
970 | 975 | | |
971 | 976 | | |
972 | | - | |
| 977 | + | |
973 | 978 | | |
974 | 979 | | |
975 | 980 | | |
| |||
1390 | 1395 | | |
1391 | 1396 | | |
1392 | 1397 | | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | 1398 | | |
1400 | 1399 | | |
1401 | 1400 | | |
1402 | | - | |
| 1401 | + | |
1403 | 1402 | | |
1404 | 1403 | | |
1405 | 1404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4002 | 4002 | | |
4003 | 4003 | | |
4004 | 4004 | | |
| 4005 | + | |
| 4006 | + | |
| 4007 | + | |
| 4008 | + | |
| 4009 | + | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + | |
| 4030 | + | |
| 4031 | + | |
4005 | 4032 | | |
4006 | 4033 | | |
4007 | | - | |
| 4034 | + | |
| 4035 | + | |
4008 | 4036 | | |
4009 | 4037 | | |
4010 | 4038 | | |
4011 | | - | |
| 4039 | + | |
| 4040 | + | |
4012 | 4041 | | |
4013 | 4042 | | |
4014 | 4043 | | |
| 4044 | + | |
4015 | 4045 | | |
4016 | 4046 | | |
4017 | 4047 | | |
4018 | 4048 | | |
4019 | 4049 | | |
4020 | 4050 | | |
4021 | 4051 | | |
4022 | | - | |
| 4052 | + | |
4023 | 4053 | | |
4024 | 4054 | | |
4025 | 4055 | | |
| |||
4230 | 4260 | | |
4231 | 4261 | | |
4232 | 4262 | | |
| 4263 | + | |
4233 | 4264 | | |
4234 | 4265 | | |
4235 | 4266 | | |
| |||
4238 | 4269 | | |
4239 | 4270 | | |
4240 | 4271 | | |
4241 | | - | |
| 4272 | + | |
4242 | 4273 | | |
4243 | 4274 | | |
4244 | 4275 | | |
| |||
4272 | 4303 | | |
4273 | 4304 | | |
4274 | 4305 | | |
| 4306 | + | |
4275 | 4307 | | |
4276 | 4308 | | |
4277 | 4309 | | |
| |||
4289 | 4321 | | |
4290 | 4322 | | |
4291 | 4323 | | |
4292 | | - | |
4293 | 4324 | | |
4294 | 4325 | | |
4295 | 4326 | | |
| |||
4299 | 4330 | | |
4300 | 4331 | | |
4301 | 4332 | | |
4302 | | - | |
| 4333 | + | |
4303 | 4334 | | |
4304 | 4335 | | |
4305 | 4336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
0 commit comments