mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Fix Sec-Fetch-Site header (#37277)
While working on #37209 I discovered that the header was computed incorrectly. After carefully reading the specification, I realized that the link in the spec was wrong and we were missing the fact that for host-domains, we should operate on the registrable domain. Additionally, the same-site call was missing the negation. Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
a625420b23
commit
c808ff7666
36 changed files with 41 additions and 444 deletions
|
@ -1,25 +1,7 @@
|
|||
[preload.https.sub.html]
|
||||
[preload fetch www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload image www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload style www.not-web-platform.test:8443: sec-fetch-dest]
|
||||
expected: FAIL
|
||||
|
||||
[preload style www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload font www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload script www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload track www.not-web-platform.test:8443: sec-fetch-site]
|
||||
expected: FAIL
|
||||
|
||||
[preload style www.web-platform.test:8443: sec-fetch-dest]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue