mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 17:09:43 +00: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:
parent
f60529dac5
commit
658477620a
Notes:
github-actions[bot]
2025-08-19 21:51:41 +00:00
Author: https://github.com/tete17
Commit: 658477620a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5881
Reviewed-by: https://github.com/gmta ✅
12 changed files with 80 additions and 27 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue