Home
last modified time | relevance | path

Searched refs:TextDecoderStream (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-attributes.any.js19 const stream = new TextDecoderStream(label);
26 const stream = new TextDecoderStream('utf-8', { fatal: falseValue });
31 const stream = new TextDecoderStream('utf-8', { ignoreBOM: falseValue });
38 const stream = new TextDecoderStream('utf-8', { fatal: trueValue });
43 const stream = new TextDecoderStream('utf-8', { ignoreBOM: trueValue });
49 assert_throws_js(RangeError, () => new TextDecoderStream(''),
54 assert_throws_js(TypeError, () => new TextDecoderStream({
61 () => new TextDecoderStream('utf-8', {
68 () => new TextDecoderStream('utf-8', {
Ddecode-utf8.any.js19 const output = input.pipeThrough(new TextDecoderStream());
27 const output = input.pipeThrough(new TextDecoderStream());
34 const output = input.pipeThrough(new TextDecoderStream());
42 const output = input.pipeThrough(new TextDecoderStream());
52 const output = input.pipeThrough(new TextDecoderStream());
64 const output = input.pipeThrough(new TextDecoderStream());
73 const output = input.pipeThrough(new TextDecoderStream());
Ddecode-split-character.any.js15 const output = input.pipeThrough(new TextDecoderStream());
29 const output = input.pipeThrough(new TextDecoderStream());
43 const output = input.pipeThrough(new TextDecoderStream());
Ddecode-non-utf8.any.js44 const stream = new TextDecoderStream(encoding.name);
58 const stream = new TextDecoderStream(encoding.name);
71 const stream = new TextDecoderStream(encoding.name, {fatal: true});
Ddecode-incomplete-input.any.js11 const output = input.pipeThrough(new TextDecoderStream());
19 const output = input.pipeThrough(new TextDecoderStream(
Dreadable-writable-properties.any.js17 const td = new TextDecoderStream();
Ddecode-bad-chunks.any.js30 const tds = new TextDecoderStream();
Ddecode-ignore-bom.any.js19 new TextDecoderStream(encoding, {ignoreBOM})));
Dinvalid-realm.window.js12 const stream = new iframe.contentWindow.TextDecoderStream();
Dencode-bad-chunks.any.js58 .pipeThrough(new TextDecoderStream());
/third_party/node/test/parallel/
Dtest-whatwg-webstreams-encoding.js9 TextDecoderStream,
16 assert.throws(() => new TextDecoderStream(i), {
22 assert.throws(() => new TextDecoderStream(undefined, i), {
28 const tds = new TextDecoderStream();
50 () => Reflect.get(TextDecoderStream.prototype, 'encoding', {}), {
54 () => Reflect.get(TextDecoderStream.prototype, 'fatal', {}), {
58 () => Reflect.get(TextDecoderStream.prototype, 'ignoreBOM', {}), {
62 () => Reflect.get(TextDecoderStream.prototype, 'readable', {}), {
66 () => Reflect.get(TextDecoderStream.prototype, 'writable', {}), {
Dtest-webstream-encoding-inspect.js5 const { TextEncoderStream, TextDecoderStream } = require('stream/web');
22 const textDecoderStream = new TextDecoderStream();
Dtest-global-webstreams.js22 assert.strictEqual(TextDecoderStream, webstreams.TextDecoderStream);
/third_party/node/test/fixtures/wpt/interfaces/
Dencoding.idl48 interface TextDecoderStream {
51 TextDecoderStream includes TextDecoderCommon;
52 TextDecoderStream includes GenericTransformStream;
/third_party/node/lib/stream/
Dweb.js30 TextDecoderStream,
53 TextDecoderStream, property
/third_party/node/lib/internal/webstreams/
Dencoding.js141 class TextDecoderStream { class
236 ObjectDefineProperties(TextDecoderStream.prototype, {
246 TextDecoderStream, property
/third_party/node/lib/internal/bootstrap/
Dbrowser.js157 TextDecoderStream,
179 exposeInterface(globalThis, 'TextDecoderStream', TextDecoderStream);
/third_party/node/doc/api/
Dglobals.md771 ## Class: `TextDecoderStream`
779 A browser-compatible implementation of [`TextDecoderStream`][].
908 [`TextDecoderStream`]: webstreams.md#class-textdecoderstream
Dwebstreams.md1283 ### Class: `TextDecoderStream`
1293 #### `new TextDecoderStream([encoding[, options]])` argument
1303 * `ignoreBOM` {boolean} When `true`, the `TextDecoderStream` will include the
1308 Creates a new `TextDecoderStream` instance.
1318 The encoding supported by the `TextDecoderStream` instance.
/third_party/node/deps/v8/tools/js/
Dweb-api-helper.mjs141 const decoder = globalThis.TextDecoderStream;
/third_party/typescript/tests/baselines/reference/
DglobalThisBlockscopedProperties.types67 …tList" | "SubmitEvent" | "SubtleCrypto" | "Text" | "TextDecoder" | "TextDecoderStream" | "TextEnco…
/third_party/node/tools/doc/
Dtype-parser.mjs263 'TextDecoderStream': property
/third_party/node/test/common/
Dindex.js348 global.TextDecoderStream,
/third_party/typescript/lib/
Dlib.webworker.d.ts3282 interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { interface
3287 declare var TextDecoderStream: { variable
3288 prototype: TextDecoderStream;
3289 new(label?: string, options?: TextDecoderOptions): TextDecoderStream;
/third_party/typescript/src/lib/
Dwebworker.generated.d.ts3262 interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { interface
3267 declare var TextDecoderStream: { variable
3268 prototype: TextDecoderStream;
3269 new(label?: string, options?: TextDecoderOptions): TextDecoderStream;

12