Home
last modified time | relevance | path

Searched refs:ReadableStreamDefaultReader (Results 1 – 23 of 23) sorted by relevance

/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dpatched-global.any.js73 const ReadableStreamDefaultReader = (new ReadableStream()).getReader().constructor;
74 const oldDefaultReaderRead = ReadableStreamDefaultReader.prototype.read;
75 const oldDefaultReaderCancel = ReadableStreamDefaultReader.prototype.cancel;
76 const oldDefaultReaderReleaseLock = ReadableStreamDefaultReader.prototype.releaseLock;
82 ReadableStreamDefaultReader.prototype.read = function() { class
85 ReadableStreamDefaultReader.prototype.cancel = function() {
88 ReadableStreamDefaultReader.prototype.releaseLock = function() {
95 ReadableStreamDefaultReader.prototype.read = oldDefaultReaderRead;
96 ReadableStreamDefaultReader.prototype.cancel = oldDefaultReaderCancel;
97 ReadableStreamDefaultReader.prototype.releaseLock = oldDefaultReaderReleaseLock;
Ddefault-reader.any.js7 assert_throws_js(TypeError, () => new ReadableStreamDefaultReader('potato'));
8 assert_throws_js(TypeError, () => new ReadableStreamDefaultReader({}));
9 assert_throws_js(TypeError, () => new ReadableStreamDefaultReader());
15 const rsReader = new ReadableStreamDefaultReader(new ReadableStream());
23 new ReadableStreamDefaultReader(rs); // Constructing directly the first time should be fine.
24 assert_throws_js(TypeError, () => new ReadableStreamDefaultReader(rs),
33 new ReadableStreamDefaultReader(rs); // Constructing directly should be fine.
43 …assert_throws_js(TypeError, () => new ReadableStreamDefaultReader(rs), 'constructing directly shou…
63 new ReadableStreamDefaultReader(rs); // Constructing directly should not throw.
76 new ReadableStreamDefaultReader(rs); // Constructing directly should not throw.
Dcross-realm-crash.window.js9 const reader = new iframeTag.contentWindow.ReadableStreamDefaultReader(readableStream);
/third_party/node/lib/stream/
Dweb.js16 ReadableStreamDefaultReader,
40 ReadableStreamDefaultReader, property
/third_party/node/test/parallel/
Dtest-global-webstreams.js9 assert.strictEqual(ReadableStreamDefaultReader, webstreams.ReadableStreamDefaultReader);
Dtest-whatwg-readablestream.js18 ReadableStreamDefaultReader,
321 assert(reader instanceof ReadableStreamDefaultReader);
1373 assert.rejects(() => ReadableStreamDefaultReader.prototype.read.call({}), {
1376 assert.rejects(() => ReadableStreamDefaultReader.prototype.cancel.call({}), {
1380 return Reflect.get(ReadableStreamDefaultReader.prototype, 'closed');
1385 ReadableStreamDefaultReader.prototype.releaseLock.call({}); class
1477 /ReadableStreamDefaultReader/);
1480 /ReadableStreamDefaultReader/);
1483 /ReadableStreamDefaultReader/);
Dtest-webstream-string-tag.js8 ReadableStream, ReadableStreamBYOBRequest, ReadableStreamDefaultReader,
Dtest-whatwg-readablebytestream.js10 ReadableStreamDefaultReader,
64 assert(defaultReader instanceof ReadableStreamDefaultReader);
/third_party/node/test/fixtures/wpt/interfaces/
Dstreams.idl21 typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
68 interface ReadableStreamDefaultReader {
74 ReadableStreamDefaultReader includes ReadableStreamGenericReader;
/third_party/node/test/fixtures/wpt/streams/
Didlharness.any.js65 ReadableStreamDefaultReader: ["(new ReadableStream()).getReader()"], property
/third_party/node/lib/internal/webstreams/
Dreadablestream.js350 return new ReadableStreamDefaultReader(this);
475 const reader = new ReadableStreamDefaultReader(this);
811 class ReadableStreamDefaultReader { class
892 ObjectDefineProperties(ReadableStreamDefaultReader.prototype, {
897 [SymbolToStringTag]: getNonWritablePropertyDescriptor(ReadableStreamDefaultReader.name),
1254 reader = new ReadableStreamDefaultReader(source);
1467 const reader = new ReadableStreamDefaultReader(stream);
1564 let reader = new ReadableStreamDefaultReader(stream);
1596 reader = new ReadableStreamDefaultReader(stream);
3181 ReadableStreamDefaultReader, property
/third_party/node/test/fixtures/wpt/encoding/streams/
Drealms.window.js60 window.readMethod = methodRealm.ReadableStreamDefaultReader.prototype.read;
/third_party/node/doc/api/
Dwebstreams.md130 reader `ReadableStreamDefaultReader`.
172 * Returns: {ReadableStreamDefaultReader|ReadableStreamBYOBReader}
388 ### Class: `ReadableStreamDefaultReader`
399 will return an instance of `ReadableStreamDefaultReader`. The default
404 #### `new ReadableStreamDefaultReader(stream)` argument
412 Creates a new {ReadableStreamDefaultReader} that is locked to the
Dglobals.md654 ## Class: `ReadableStreamDefaultReader`
662 A browser-compatible implementation of [`ReadableStreamDefaultReader`][].
906 [`ReadableStreamDefaultReader`]: webstreams.md#class-readablestreamdefaultreader
/third_party/typescript/tests/baselines/reference/
DglobalThisBlockscopedProperties.types67 …dableStreamBYOBRequest" | "ReadableStreamDefaultController" | "ReadableStreamDefaultReader" | "Rem…
DmappedTypeRecursiveInference.types100 …eStreamBYOBRequest: any; ReadableStreamDefaultController: any; ReadableStreamDefaultReader: any; R…
102 …eStreamBYOBRequest: any; ReadableStreamDefaultController: any; ReadableStreamDefaultReader: any; R…
108 …eStreamBYOBRequest: any; ReadableStreamDefaultController: any; ReadableStreamDefaultReader: any; R…
110 …eStreamBYOBRequest: any; ReadableStreamDefaultController: any; ReadableStreamDefaultReader: any; R…
/third_party/node/tools/doc/
Dtype-parser.mjs240 'ReadableStreamDefaultReader': property
/third_party/node/test/common/
Dindex.js337 global.ReadableStreamDefaultReader,
/third_party/typescript/lib/
Dlib.webworker.d.ts2925 getReader(): ReadableStreamDefaultReader<R>;
2972 interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader { interface
2977 declare var ReadableStreamDefaultReader: { variable
2978 prototype: ReadableStreamDefaultReader;
2979 new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
6122 type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
Dlib.dom.d.ts11613 getReader(): ReadableStreamDefaultReader<R>;
11660 interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader { interface
11665 declare var ReadableStreamDefaultReader: { variable
11666 prototype: ReadableStreamDefaultReader;
11667 new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
18343 type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
/third_party/typescript/src/lib/
Dwebworker.generated.d.ts2905 getReader(): ReadableStreamDefaultReader<R>;
2952 interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader { interface
2957 declare var ReadableStreamDefaultReader: { variable
2958 prototype: ReadableStreamDefaultReader;
2959 new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
6102 type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
Ddom.generated.d.ts11593 getReader(): ReadableStreamDefaultReader<R>;
11640 interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader { interface
11645 declare var ReadableStreamDefaultReader: { variable
11646 prototype: ReadableStreamDefaultReader;
11647 new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
18323 type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
/third_party/node/doc/changelogs/
DCHANGELOG_V18.md4480 * `ReadableStream`, `ReadableStreamDefaultReader`, `ReadableStreamBYOBReader`, `ReadableStreamBYOBR…