1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Userland/Libraries/LibWeb/WebIDL
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
..
AbstractOperations.cpp LibWeb/WebIDL: Throw correct error when converting integers 2024-08-18 23:35:02 +02:00
AbstractOperations.h LibWeb: Delete LegacyPlatformObject and move behavior to PlatformObject 2024-01-12 09:11:18 +01:00
Buffers.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Buffers.h LibWeb: Add const qualified BufferableObjectBase::raw_object 2024-05-26 07:48:37 +02:00
CallbackType.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
CallbackType.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DOMException.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
DOMException.h LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
DOMException.idl
ExceptionOr.h LibWeb: Add and use a helper to reject a promise with an exception 2024-03-08 14:14:57 -05:00
Function.idl
ObservableArray.cpp LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ObservableArray.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
OverloadResolution.cpp LibWeb: WebIDL::OverloadResolution, minor code streamlining 2024-07-24 11:23:58 +02:00
OverloadResolution.h
Promise.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
Promise.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
Tracing.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Tracing.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Types.h LibWeb: Add WebIDL::Double type 2024-10-08 19:02:27 +02:00