mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move LinkProcessingOptions into separate file (#39033)
This makes future implementations easier where we will reuse most of this code to parse Link headers. Part of #35035 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
efe9ea2306
commit
a1f9e3e133
23 changed files with 311 additions and 573 deletions
|
@ -1,40 +1,13 @@
|
|||
[subresource-integrity.html]
|
||||
[Same-origin script with correct sha256 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with correct sha384 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with correct sha512 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with empty integrity.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with incorrect hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with multiple sha256 hashes, including correct.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with multiple sha256 hashes, including unknown algorithm.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with sha256 mismatch, sha512 match]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with sha256 match, sha512 mismatch]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='anonymous'> script with correct hash, ACAO: *]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='anonymous'> script with incorrect hash, ACAO: *]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='use-credentials'> script with correct hash, CORS-eligible]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='use-credentials'> script with incorrect hash CORS-eligible]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -47,21 +20,6 @@
|
|||
[Cross-origin script, not CORS request, with hash mismatch]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin script, empty integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with correct hash, options.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with unknown algorithm only.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with matching digest re-uses preload with matching digest.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with matching digest re-uses preload with matching digest and options.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin script with non-matching digest does not re-use preload with matching digest.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -86,42 +44,15 @@
|
|||
[Same-origin script with non-matching digest reuses preload with no digest but fails.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with correct sha256 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with correct sha384 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with correct sha512 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with empty integrity.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with incorrect hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with multiple sha256 hashes, including correct.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with multiple sha256 hashes, including unknown algorithm.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with sha256 mismatch, sha512 match]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with sha256 match, sha512 mismatch]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='anonymous'> style with correct hash, ACAO: *]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='anonymous'> style with incorrect hash, ACAO: *]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='use-credentials'> style with correct hash, CORS-eligible]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='use-credentials'> style with incorrect hash CORS-eligible]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -134,21 +65,6 @@
|
|||
[Cross-origin style, not CORS request, with hash mismatch]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin style, empty integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with correct hash, options.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with unknown algorithm only.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with matching digest re-uses preload with matching digest.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with matching digest re-uses preload with matching digest and options.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin style with non-matching digest does not re-use preload with matching digest.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -193,3 +109,39 @@
|
|||
|
||||
[Cross-origin image, not CORS request, with hash mismatch]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with correct sha256 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with correct sha384 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with correct sha512 hash.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with empty integrity.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with multiple sha256 hashes, including correct.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with multiple sha256 hashes, including unknown algorithm.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with sha256 mismatch, sha512 match]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='anonymous'> image with correct hash, ACAO: *]
|
||||
expected: FAIL
|
||||
|
||||
[<crossorigin='use-credentials'> image with correct hash, CORS-eligible]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin image, empty integrity]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with correct hash, options.]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin image with unknown algorithm only.]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue