Home
last modified time | relevance | path

Searched refs:ignoreBOM (Results 1 – 19 of 19) sorted by relevance

/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-ignorebom.any.js12 var decoder = new TextDecoder(testCase.encoding, {ignoreBOM: true}); property
23 decoder = new TextDecoder(testCase.encoding, {ignoreBOM: false}); property
47 …assert_equals(typeof new TextDecoder().ignoreBOM, 'boolean', 'The type of the ignoreBOM attribute…
48 assert_false(new TextDecoder().ignoreBOM, 'The ignoreBOM attribute should default to false.');
49 …assert_true(new TextDecoder('utf-8', {ignoreBOM: true}).ignoreBOM, 'The ignoreBOM attribute can be… property
/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-attributes.any.js31 const stream = new TextDecoderStream('utf-8', { ignoreBOM: falseValue }); property
32 assert_false(stream.ignoreBOM, 'ignoreBOM should be false');
43 const stream = new TextDecoderStream('utf-8', { ignoreBOM: trueValue }); property
44 assert_true(stream.ignoreBOM, 'ignoreBOM should be true');
69 get ignoreBOM() { throw new Error(); } getter
Ddecode-ignore-bom.any.js15 async function pipeAndAssemble(inputChunks, encoding, ignoreBOM) { argument
19 new TextDecoderStream(encoding, {ignoreBOM}))); field
/third_party/node/test/parallel/
Dtest-whatwg-encoding-custom-textdecoder.js40 const dec = new TextDecoder(i, { ignoreBOM: true }); property
46 const dec = new TextDecoder(i, { ignoreBOM: true }); property
100 assert.strictEqual(dec.ignoreBOM, false);
120 const dec = new TextDecoder('utf-8', { ignoreBOM: true }); property
152 const dec = new TextDecoder('utf-8', { ignoreBOM: true }); property
171 ignoreBOM: { get: ignoreBOMGetter },
Dtest-whatwg-encoding-custom-textdecoder-ignorebom.js23 let decoder = new TextDecoder(testCase.encoding, { ignoreBOM: true }); property
26 decoder = new TextDecoder(testCase.encoding, { ignoreBOM: false }); property
Dtest-whatwg-webstreams-encoding.js47 assert.strictEqual(tds.ignoreBOM, false);
/third_party/node/lib/internal/webstreams/
Dencoding.js191 get ignoreBOM() { getter in TextDecoderStream
194 return this[kHandle].ignoreBOM;
223 ignoreBOM: this[kHandle].ignoreBOM, property
239 ignoreBOM: kEnumerableProperty, property
/third_party/node/benchmark/util/
Dtext-decoder.js7 ignoreBOM: [0, 1], property
14 function main({ encoding, len, n, ignoreBOM, type, fatal }) { property
15 const decoder = new TextDecoder(encoding, { ignoreBOM, fatal }); property
/third_party/node/lib/internal/
Dencoding.js402 flags |= options.ignoreBOM ? CONVERTER_FLAGS_IGNORE_BOM : 0;
408 this[kIgnoreBOM] = Boolean(options?.ignoreBOM);
487 flags |= options.ignoreBOM ? CONVERTER_FLAGS_IGNORE_BOM : 0;
568 get ignoreBOM() { getter
582 obj.ignoreBOM = this.ignoreBOM;
/third_party/node/test/fixtures/wpt/interfaces/
Dencoding.idl9 readonly attribute boolean ignoreBOM;
14 boolean ignoreBOM = false;
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_util.js35 this.ignoreBOM = "[PC preview] unknow ignoreBOM"
/third_party/node/deps/undici/src/lib/fetch/
Dbody.js447 const textDecoder = new TextDecoder('utf-8', { ignoreBOM: true }) property
/third_party/node/doc/api/
Dwebstreams.md1303 * `ignoreBOM` {boolean} When `true`, the `TextDecoderStream` will include the
1331 #### `textDecoderStream.ignoreBOM`
Dutil.md1837 * `ignoreBOM` {boolean} When `true`, the `TextDecoder` will include the byte
1876 ### `textDecoder.ignoreBOM`
/third_party/typescript/lib/
Dlib.webworker.d.ts654 ignoreBOM?: boolean; property
3279 readonly ignoreBOM: boolean; property
Dlib.dom.d.ts1787 ignoreBOM?: boolean; property
14147 readonly ignoreBOM: boolean; property
/third_party/typescript/src/lib/
Dwebworker.generated.d.ts634 ignoreBOM?: boolean; property
3259 readonly ignoreBOM: boolean; property
Ddom.generated.d.ts1767 ignoreBOM?: boolean; property
14127 readonly ignoreBOM: boolean; property
/third_party/node/deps/undici/
Dundici.js4485 const textDecoder = new TextDecoder("utf-8", { ignoreBOM: true }); property