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:
Tete17 2025-08-18 00:37:34 +02:00 committed by Jelle Raaijmakers
commit 658477620a
Notes: github-actions[bot] 2025-08-19 21:51:41 +00:00
12 changed files with 80 additions and 27 deletions

View file

@ -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 agents blob URL store.
auto& store = blob_url_store();