Implement basics of link preloading (#37036)

These changes allow a minimal set of checks for font-src
CSP checks to pass.

Part of #4577
Part of #35035

---------

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-05-29 13:26:27 +02:00 committed by GitHub
parent 9dc1391bef
commit 36e4886da1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
174 changed files with 2814 additions and 1097 deletions

View file

@ -1,4 +0,0 @@
[font-match-allowed.sub.html]
expected: TIMEOUT
[Test font loads if it matches font-src.]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[font-mismatch-blocked.sub.html]
expected: TIMEOUT
[Test font does not load if it does not match font-src.]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[font-none-blocked.sub.html]
expected: TIMEOUT
[Test font does not load if it does not match font-src.]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[font-self-allowed.html]
expected: TIMEOUT
[Test font loads if it matches font-src.]
expected: TIMEOUT