mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-19 17:27:51 +03:00
LibWeb/Fetch: Add "json" destination for JSON modules
This is a change in the Fetch spec. See: - https://github.com/whatwg/fetch/commit/49bff76
This commit is contained in:
parent
527ad9ac01
commit
da8d0d82c0
Notes:
sideshowbarker
2024-07-16 20:44:03 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/SerenityOS/serenity/commit/da8d0d82c0 Pull-request: https://github.com/SerenityOS/serenity/pull/24164 Reviewed-by: https://github.com/kennethmyhra ✅
@ -56,6 +56,7 @@ public:
|
||||
Frame,
|
||||
IFrame,
|
||||
Image,
|
||||
JSON,
|
||||
Manifest,
|
||||
Object,
|
||||
PaintWorklet,
|
||||
@ -388,7 +389,7 @@ private:
|
||||
|
||||
// https://fetch.spec.whatwg.org/#concept-request-destination
|
||||
// A request has an associated destination, which is the empty string, "audio", "audioworklet", "document",
|
||||
// "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script",
|
||||
// "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script",
|
||||
// "serviceworker", "sharedworker", "style", "track", "video", "webidentity", "worker", or "xslt". Unless stated
|
||||
// otherwise it is the empty string.
|
||||
// NOTE: These are reflected on RequestDestination except for "serviceworker" and "webidentity" as fetches with
|
||||
|
Loading…
Reference in New Issue
Block a user