/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
D | patched-global.any.js | 73 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;
|
D | default-reader.any.js | 7 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.
|
D | cross-realm-crash.window.js | 9 const reader = new iframeTag.contentWindow.ReadableStreamDefaultReader(readableStream);
|
/third_party/node/lib/stream/ |
D | web.js | 16 ReadableStreamDefaultReader, 40 ReadableStreamDefaultReader, property
|
/third_party/node/test/parallel/ |
D | test-global-webstreams.js | 9 assert.strictEqual(ReadableStreamDefaultReader, webstreams.ReadableStreamDefaultReader);
|
D | test-whatwg-readablestream.js | 18 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/);
|
D | test-webstream-string-tag.js | 8 ReadableStream, ReadableStreamBYOBRequest, ReadableStreamDefaultReader,
|
D | test-whatwg-readablebytestream.js | 10 ReadableStreamDefaultReader, 64 assert(defaultReader instanceof ReadableStreamDefaultReader);
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | streams.idl | 21 typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader; 68 interface ReadableStreamDefaultReader { 74 ReadableStreamDefaultReader includes ReadableStreamGenericReader;
|
/third_party/node/test/fixtures/wpt/streams/ |
D | idlharness.any.js | 65 ReadableStreamDefaultReader: ["(new ReadableStream()).getReader()"], property
|
/third_party/node/lib/internal/webstreams/ |
D | readablestream.js | 350 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/ |
D | realms.window.js | 60 window.readMethod = methodRealm.ReadableStreamDefaultReader.prototype.read;
|
/third_party/node/doc/api/ |
D | webstreams.md | 130 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
|
D | globals.md | 654 ## Class: `ReadableStreamDefaultReader` 662 A browser-compatible implementation of [`ReadableStreamDefaultReader`][]. 906 [`ReadableStreamDefaultReader`]: webstreams.md#class-readablestreamdefaultreader
|
/third_party/typescript/tests/baselines/reference/ |
D | globalThisBlockscopedProperties.types | 67 …dableStreamBYOBRequest" | "ReadableStreamDefaultController" | "ReadableStreamDefaultReader" | "Rem…
|
D | mappedTypeRecursiveInference.types | 100 …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/ |
D | type-parser.mjs | 240 'ReadableStreamDefaultReader': property
|
/third_party/node/test/common/ |
D | index.js | 337 global.ReadableStreamDefaultReader,
|
/third_party/typescript/lib/ |
D | lib.webworker.d.ts | 2925 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;
|
D | lib.dom.d.ts | 11613 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/ |
D | webworker.generated.d.ts | 2905 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;
|
D | dom.generated.d.ts | 11593 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/ |
D | CHANGELOG_V18.md | 4480 * `ReadableStream`, `ReadableStreamDefaultReader`, `ReadableStreamBYOBReader`, `ReadableStreamBYOBR…
|