1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 21:57:36 +00:00
serenity/Userland/Libraries/LibWeb/Fetch
Sam Atkins 22e0603bf7 LibWeb: Implement integrity-metadata part of fetch algorithm
Specifically, this makes `<link>` elements with an `integrity` attribute
actually work. Previously, we would load their resource, and then drop
it on the floor without actually using it.

The Subresource Integrity code is in `LibWeb/SRI`, since SRI is the name
of the recommendation spec: https://www.w3.org/TR/SRI/

However, the Fetch spec links to the editor's draft, which varies
significantly from the recommendation, and so that is what the code is
based on and what the spec comments link to:
https://w3c.github.io/webappsec-subresource-integrity/

Fixes #18408
2023-04-21 20:44:47 +01:00
..
Fetching LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Infrastructure LibWeb: Invent a method to stop an in-progress fetch without errors 2023-04-20 06:19:41 +02:00
Body.cpp LibWeb/Streams: Use MUST_OR_THROW_OOM() when creating JS exceptions 2023-04-14 16:35:17 +02:00
Body.h LibWeb/Fetch: Implement Body's "fully read" function from the spec 2023-03-07 11:51:12 +00:00
Body.idl LibWeb: Implement '5.3. Body mixin' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
BodyInit.cpp LibWeb: Add FormData support to XHR 2023-04-05 09:43:52 +01:00
BodyInit.h LibWeb: Add FormData support to XHR 2023-04-05 09:43:52 +01:00
BodyInit.idl LibWeb: Add FormData support to XHR 2023-04-05 09:43:52 +01:00
Enums.cpp LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Enums.h LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
FetchMethod.cpp LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
FetchMethod.h LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
Headers.cpp Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
Headers.h LibWeb/Fetch: Port JS interfaces to new String 2023-03-03 09:25:34 +00:00
Headers.idl LibWeb/Fetch: Port JS interfaces to new String 2023-03-03 09:25:34 +00:00
HeadersIterator.cpp LibWeb/Fetch: Fix build error in HeadersIterator::next() 2023-04-15 16:49:37 +02:00
HeadersIterator.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
Request.cpp AK+Everywhere: Change URL::path() to serialize_path() 2023-04-15 06:37:04 +02:00
Request.h LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
Request.idl LibWeb/Fetch: Port JS interfaces to new String 2023-03-03 09:25:34 +00:00
Response.cpp AK+Everywhere: Use Optional for URLParser::parse's base_url parameter 2023-04-11 16:28:20 +02:00
Response.h LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
Response.idl LibWeb/Fetch: Port JS interfaces to new String 2023-03-03 09:25:34 +00:00