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:
Tim van der Lippe 2025-09-02 18:31:39 +02:00 committed by GitHub
parent efe9ea2306
commit a1f9e3e133
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 311 additions and 573 deletions

View file

@ -8,21 +8,12 @@
[<crossorigin="anonymous"> Same-origin with correct sha512 hash.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with empty integrity.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with no integrity.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with incorrect hash.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with correct sha256 hash, options.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with unknown algorithm only.]
expected: FAIL
[<crossorigin="anonymous"> Same-origin with multiple sha256 hashes, including correct.]
expected: FAIL
@ -56,9 +47,6 @@
[Cross-origin, not CORS request, with incorrect sha256.]
expected: FAIL
[<crossorigin="anonymous"> Cross-origin with empty integrity.]
expected: FAIL
[Cross-origin, not CORS request, with empty integrity.]
expected: FAIL