ladybird/Userland/Libraries/LibWeb/Streams
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: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
AbstractOperations.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ByteLengthQueuingStrategy.cpp LibWeb: Remove uses of obsolete PlatformObject::global_object() 2024-09-07 11:37:49 +02:00
ByteLengthQueuingStrategy.h
ByteLengthQueuingStrategy.idl
CountQueuingStrategy.cpp LibWeb: Remove uses of obsolete PlatformObject::global_object() 2024-09-07 11:37:49 +02:00
CountQueuingStrategy.h
CountQueuingStrategy.idl
QueuingStrategy.h
QueuingStrategy.idl
QueuingStrategyInit.h
QueuingStrategyInit.idl
ReadableByteStreamController.cpp
ReadableByteStreamController.h
ReadableByteStreamController.idl
ReadableStream.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStream.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStream.idl LibWeb: Normalize all WebIDL definition lines to four leading spaces 2024-09-10 21:16:53 +01:00
ReadableStreamBYOBReader.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamBYOBReader.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamBYOBReader.idl
ReadableStreamBYOBRequest.cpp
ReadableStreamBYOBRequest.h
ReadableStreamBYOBRequest.idl
ReadableStreamDefaultController.cpp
ReadableStreamDefaultController.h
ReadableStreamDefaultController.idl
ReadableStreamDefaultReader.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamDefaultReader.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamDefaultReader.idl
ReadableStreamGenericReader.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamGenericReader.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
ReadableStreamGenericReader.idl
Transformer.cpp
Transformer.h
TransformStream.cpp
TransformStream.h
TransformStream.idl
TransformStreamDefaultController.cpp
TransformStreamDefaultController.h
TransformStreamDefaultController.idl
UnderlyingSink.cpp
UnderlyingSink.h
UnderlyingSource.cpp
UnderlyingSource.h
WritableStream.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
WritableStream.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
WritableStream.idl
WritableStreamDefaultController.cpp
WritableStreamDefaultController.h
WritableStreamDefaultController.idl
WritableStreamDefaultWriter.cpp LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
WritableStreamDefaultWriter.h LibWeb: Move JS::Promise <-> WebIDL conversion into IDL 2024-10-25 14:04:21 -06:00
WritableStreamDefaultWriter.idl