Bug 1733673 [wpt PR 31066] - Annotate CSS Transforms WPT reftests as fuzzy where...
[gecko.git] / dom / webidl / ReadableStream.webidl
blob5bf5ee5d8a4661118e1373ab940960fbf9aa79cb
1 [Exposed=(Window,Worker,Worklet),
2 //Transferable See Bug 1734240
4 interface ReadableStream {
5   [Throws]
6   constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
8   readonly attribute boolean locked;
10   [Throws]
11   Promise<void> cancel(optional any reason);
13   [Throws]
14   ReadableStreamReader getReader(optional ReadableStreamGetReaderOptions options = {});
16   // Bug 1734243
17   // ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
19   // Bug 1734241
20   // Promise<undefined> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
22   [Throws]
23   sequence<ReadableStream> tee();
25   // Bug 1734244
26   // async iterable<any>(optional ReadableStreamIteratorOptions options = {});
29 enum ReadableStreamReaderMode { "byob" };
31 dictionary ReadableStreamGetReaderOptions {
32   ReadableStreamReaderMode mode;