mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb: Make Blob and File GC-allocated
This commit is contained in:
parent
018d236439
commit
647ac1bdba
Notes:
sideshowbarker
2024-07-17 07:25:21 +09:00
Author: https://github.com/awesomekling
Commit: 647ac1bdba
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
10 changed files with 77 additions and 61 deletions
|
@ -18,7 +18,7 @@ namespace Web::Fetch::Infrastructure {
|
|||
// https://fetch.spec.whatwg.org/#concept-body
|
||||
class Body final {
|
||||
public:
|
||||
using SourceType = Variant<Empty, ByteBuffer, NonnullRefPtr<FileAPI::Blob>>;
|
||||
using SourceType = Variant<Empty, ByteBuffer, JS::Handle<FileAPI::Blob>>;
|
||||
|
||||
struct ReadableStreamDummy { };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue