Home
last modified time | relevance | path

Searched refs:getWriter (Results 1 – 25 of 73) sorted by relevance

123

/third_party/node/test/fixtures/wpt/streams/writable-streams/
Dgeneral.any.js6 const writer = ws.getWriter();
15 const writer = ws.getWriter();
23 const writer = ws.getWriter();
39 const writer = ws.getWriter();
46 const writer = ws.getWriter();
50 ws.getWriter();
56 const writer = ws.getWriter();
60 ws.getWriter();
67 const writer = ws.getWriter();
71 ws.getWriter();
[all …]
Dclose.any.js19 const writer = ws.getWriter();
40 const writer = ws.getWriter();
67 const writer = ws.getWriter();
79 const writer = ws.getWriter();
97 const writer = ws.getWriter();
117 const writer = ws.getWriter();
128 const writer = ws.getWriter();
150 const writer = ws.getWriter();
182 const writer = ws.getWriter();
206 …return promise_rejects_exactly(t, rejection, ws.getWriter().close(), 'close() should return a reje…
[all …]
Daborting.any.js17 const writer = ws.getWriter();
35 const writer = ws.getWriter();
50 const writer = ws.getWriter();
62 const writer = ws.getWriter();
83 const writer = ws.getWriter();
112 const writer = ws.getWriter();
126 const writer = ws.getWriter();
138 const writer = ws.getWriter();
172 const writer = ws.getWriter();
187 const writer = ws.getWriter();
[all …]
Dwrite.any.js33 const writer = ws.getWriter();
43 const writer = ws.getWriter();
58 const writer = ws.getWriter();
76 const writer = ws.getWriter();
119 const writer = ws.getWriter();
164 const writer = ws.getWriter();
179 const writer = ws.getWriter();
211 const writer = ws.getWriter();
230 const w = stream.getWriter();
252 return ws.getWriter().write('a').then(() => assert_true(thenCalled, 'thenCalled should be true'));
[all …]
Dconstructor.any.js21 const writer = ws.getWriter();
36 const writer = ws.getWriter();
55 return ws.getWriter().close();
64 const writer = ws.getWriter();
78 const writer = ws.getWriter();
102 const writer = ws.getWriter();
142 const writer = stream.getWriter();
151 const writer = stream.getWriter();
Dreentrant-strategy.any.js24 writer = ws.getWriter();
49 writer = ws.getWriter();
76 const writer = ws.getWriter();
103 writer = ws.getWriter();
120 writer = ws.getWriter();
137 writer = ws.getWriter();
157 const writer2 = ws.getWriter();
166 writer1 = ws.getWriter();
Dstart.any.js18 const writer = ws.getWriter();
45 const writer = ws.getWriter();
102 …return promise_rejects_exactly(t, error1, ws.getWriter().closed, 'closed promise should be rejecte…
111 …return promise_rejects_exactly(t, error1, ws.getWriter().write('a'), 'write() should reject with t…
128 const writer = ws.getWriter();
155 const writer = ws.getWriter();
Dbad-underlying-sinks.any.js47 const writer = ws.getWriter();
66 const writer = ws.getWriter();
97 const writer = ws.getWriter();
115 const writer = ws.getWriter();
143 const writer = ws.getWriter();
200 const writer = ws.getWriter();
Derror.any.js16 return promise_rejects_exactly(t, error1, ws.getWriter().closed, 'stream should be errored');
39 …return promise_rejects_exactly(t, error1, ws.getWriter().closed, 'first controller.error() should …
61 return ws.getWriter().close().then(() => {
/third_party/node/test/fixtures/wpt/streams/piping/
Dclose-propagation-backward.any.js13 const writer = ws.getWriter();
27 ws.getWriter().closed
46 const writer = ws.getWriter();
58 ws.getWriter().closed
72 const writer = ws.getWriter();
86 ws.getWriter().closed
101 const writer = ws.getWriter();
109 return ws.getWriter().closed;
120 const writer = ws.getWriter();
129 return ws.getWriter().closed;
[all …]
Dmultiple-propagation.any.js20 const writer = ws.getWriter();
49 …promise_rejects_exactly(t, error2, ws.getWriter().closed, 'the writable stream must be errored wit…
91 …promise_rejects_exactly(t, error2, ws.getWriter().closed, 'the writable stream must be errored wit…
121 const writer = ws.getWriter();
131 promise_rejects_exactly(t, error1, ws.getWriter().closed,
147 const writer = ws.getWriter();
158 ws.getWriter().closed,
184 …promise_rejects_exactly(t, error1, ws.getWriter().closed, 'the writable stream must be errored wit…
213 const writer = ws.getWriter();
223 ws.getWriter().closed
Dclose-propagation-forward.any.js28 ws.getWriter().closed
54 promise_rejects_exactly(t, error1, ws.getWriter().closed)
82 ws.getWriter().closed
177 ws.getWriter().closed
203 promise_rejects_exactly(t, error1, ws.getWriter().closed)
250 ws.getWriter().closed
277 promise_rejects_exactly(t, error1, ws.getWriter().closed)
329 ws.getWriter().closed
358 promise_rejects_exactly(t, error1, ws.getWriter().closed)
586 promise_rejects_exactly(t, error1, ws.getWriter().closed, 'ws should be errored')
Dabort.any.js45 promise_rejects_dom(t, 'AbortError', ws.getWriter().closed, 'writer.closed should reject')
71 …await promise_rejects_exactly(t, error, ws.getWriter().closed, 'the writable should be errored wit…
98 return ws.getWriter().ready;
113 return ws.getWriter().ready;
275 const writer = ws.getWriter();
314 }).then(() => ws.getWriter().write('this should succeed'));
332 }).then(() => ws.getWriter().write('this should succeed'));
360 }).then(() => ws.getWriter().write('this should succeed'));
/third_party/node/test/fixtures/wpt/streams/transform-streams/
Dgeneral.any.js18 const writer = ts.writable.getWriter();
25 const writer = ts.writable.getWriter();
49 const writer = ts.writable.getWriter();
71 const writer = ts.writable.getWriter();
100 const writer = ts.writable.getWriter();
125 const writer = ts.writable.getWriter();
146 const writer = ts.writable.getWriter();
163 const writer = ts.writable.getWriter();
196 const writer = ts.writable.getWriter();
223 const writer = ts.writable.getWriter();
[all …]
Dbackpressure.any.js11 const writer = ts.writable.getWriter();
21 const writer = ts.writable.getWriter();
39 const writer = ts.writable.getWriter();
52 const writer = ts.writable.getWriter();
81 const writer = ts.writable.getWriter();
99 const writer = ts.writable.getWriter();
114 const writer = ts.writable.getWriter();
133 return promise_rejects_exactly(t, error1, ts.writable.getWriter().closed, 'closed should reject');
140 … return promise_rejects_exactly(t, error1, ts.writable.getWriter().closed, 'closed should reject');
148 … return promise_rejects_exactly(t, error1, ts.writable.getWriter().closed, 'closed should reject');
[all …]
Derrors.any.js17 const writer = ts.writable.getWriter();
42 const writer = ts.writable.getWriter();
78 const writer = ts.writable.getWriter();
102 const writer = ts.writable.getWriter();
153 const writer = ts.writable.getWriter();
168 const writer = ts.writable.getWriter();
187 const writePromise = ts.writable.getWriter().write('a');
197 const writer = ts.writable.getWriter();
219 const writer = ts.writable.getWriter();
258 …promise_rejects_exactly(t, thrownError, ts.writable.getWriter().closed, 'closed should reject with…
[all …]
Dstrategies.any.js12 assert_equals(ts.writable.getWriter().desiredSize, 17, 'desiredSize should be 17');
17 const writer = ts.writable.getWriter();
58 return ts.writable.getWriter().write().then(() => {
65 const writer = ts.writable.getWriter();
84 const writePromise = ts.writable.getWriter().write();
107 const writer = ts.writable.getWriter();
124 const writer = ts.writable.getWriter();
141 const writer = ts.writable.getWriter();
Dreentrant-strategies.any.js35 const writer = ts.writable.getWriter();
57 const writer = ts.writable.getWriter();
78 const writer = ts.writable.getWriter();
96 const writer = ts.writable.getWriter();
111 const writer = ts.writable.getWriter();
177 const writer = ts.writable.getWriter();
214 writer = ts.writable.getWriter();
249 writer = ts.writable.getWriter();
281 writer = ts.writable.getWriter();
Dflush.any.js14 return ts.writable.getWriter().close().then(() => {
34 const writer = ts.writable.getWriter();
70 const writer = ts.writable.getWriter();
101 const writer = ts.writable.getWriter();
130 …return promise_rejects_exactly(t, error1, ts.writable.getWriter().close(), 'close() should reject'…
Dpatched-global.any.js32 const getWriter = WritableStream.prototype.getWriter; constant
51 assert_not_equals(getWriter.call(ts.writable), undefined,
/third_party/node/test/parallel/
Dtest-whatwg-webstreams-adapters-to-readablewritablepair.js27 const writer = writable.getWriter();
59 const writer = writable.getWriter();
81 const writer = writable.getWriter();
100 const writer = writable.getWriter();
122 const writer = writable.getWriter();
144 const writer = writable.getWriter();
164 const writer = writable.getWriter();
186 const writer = writable.getWriter();
219 const writer = writable.getWriter();
233 const writer = writable.getWriter();
[all …]
Dtest-whatwg-writablestream.js60 assert.strictEqual(typeof stream.getWriter, 'function');
94 const writer = stream.getWriter();
109 const writer2 = stream.getWriter();
130 const writer = stream.getWriter();
148 const writer = stream.getWriter();
170 assert.throws(() => WritableStream.prototype.getWriter.call(), {
229 const writer = writable.getWriter();
Dtest-whatwg-webstreams-adapters-to-writablestream.js104 const writer = writableStream.getWriter();
125 const writer = writableStream.getWriter();
145 .getWriter()
158 const writer = writableStream.getWriter();
165 const writer = writableStream.getWriter();
Dtest-stream-consumers.js110 const writer = writable.getWriter();
128 const writer = writable.getWriter();
146 const writer = writable.getWriter();
164 const writer = writable.getWriter();
256 const writer = stream.writable.getWriter();
/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-non-utf8.any.js46 const writer = stream.writable.getWriter();
60 const writer = stream.writable.getWriter();
73 const writer = stream.writable.getWriter();

123