mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/LibURL/LibIPC: Extend createObjectURL to also accept MediaSources
This required some changes in LibURL & LibIPC since it has its own definition of an BlobURLEntry. For now, we don't have a concrete usage of MediaSource in LibURL so it is defined as an empty struct. This removes one FIXME in an idl file.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
f60529dac5
commit
658477620a
Notes:
github-actions[bot]
2025-08-19 21:51:41 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/658477620af Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5881 Reviewed-by: https://github.com/gmta ✅
@@ -61,7 +61,7 @@ ErrorOr<Utf16String> generate_new_blob_url()
|
||||
}
|
||||
|
||||
// https://w3c.github.io/FileAPI/#add-an-entry
|
||||
ErrorOr<Utf16String> add_entry_to_blob_url_store(GC::Ref<Blob> object)
|
||||
ErrorOr<Utf16String> add_entry_to_blob_url_store(BlobURLEntry::Object object)
|
||||
{
|
||||
// 1. Let store be the user agent’s blob URL store.
|
||||
auto& store = blob_url_store();
|
||||
|
||||
Reference in New Issue
Block a user