mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
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:
parent
9dc1391bef
commit
36e4886da1
174 changed files with 2814 additions and 1097 deletions
43
tests/wpt/meta/preload/supported-as-values.html.ini
vendored
Normal file
43
tests/wpt/meta/preload/supported-as-values.html.ini
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
[supported-as-values.html?as=track&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=iframe&expected=0]
|
||||
|
||||
[supported-as-values.html?as=video&expected=0]
|
||||
|
||||
[supported-as-values.html?as=font&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=fetch&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=object&expected=0]
|
||||
|
||||
[supported-as-values.html?as=image&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=garbagefoobar&expected=0]
|
||||
|
||||
[supported-as-values.html?as=style&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=audio&expected=0]
|
||||
|
||||
[supported-as-values.html?as=script&expected=1]
|
||||
[Test the supported value for <link rel=preload as="...">]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[supported-as-values.html?as=json&expected=0]
|
||||
|
||||
[supported-as-values.html?as=worklet&expected=0]
|
Loading…
Add table
Add a link
Reference in a new issue