ladybird/Userland/Libraries/LibWeb/FileAPI
Andrew Kaster 2c3531ab78 LibWeb: Move JS::Promise <-> WebIDL conversion into IDL
This change also removes as much direct use of JS::Promise in LibWeb
as possible. When specs refer to `Promise<T>` they should be assumed
to be referring to the WebIDL Promise type, not the JS::Promise type.

The one exception is the HostPromiseRejectionTracker hook on the JS
VM. This facility and its associated sets and events are intended to
expose the exact opaque object handles that were rejected to author
code. This is not possible with the WebIDL Promise type, so we have
to use JS::Promise or JS::Object to hold onto the promises.

It also exposes which specs need some updates in the area of
promises. WebDriver stands out in this regard. WebAudio could use
some more cross-references to WebIDL as well to clarify things.
2024-10-25 14:04:21 -06:00
..
Blob.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
Blob.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
Blob.idl LibWeb/FileAPI: Add [Clamp] extended attribute to Blob.slice 2024-08-23 12:08:11 +01:00
BlobURLStore.cpp LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
BlobURLStore.h LibWeb: Implement "Resolve a Blob URL" 2024-05-12 15:46:29 -06:00
File.cpp LibWeb: Make MimeSniff::MimeType::parse() infallible 2024-10-14 20:47:35 +02:00
File.h LibWeb: Add DeserializationMemory parameter to deserialization_steps() 2024-03-20 09:16:01 +01:00
File.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
FileList.cpp LibWeb: Disallow creating a FileAPI::FileList with a vector of files 2024-08-19 13:29:19 +02:00
FileList.h LibWeb: Disallow creating a FileAPI::FileList with a vector of files 2024-08-19 13:29:19 +02:00
FileList.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
FileReader.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
FileReader.h LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
FileReader.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00