Lines Matching refs:start
11 start() {
27 assert_array_equals(ws.events, [], 'write should not be called until start promise resolves');
32 'write should not be called until start promise resolves'));
33 }, 'underlying sink\'s write should not be called until start finishes');
38 start() {
52 assert_array_equals(ws.events, [], 'close should not be called until start promise resolves');
56 }, 'underlying sink\'s close should not be called until start finishes');
67 start() {
80 }, 'underlying sink\'s write or close should not be called if start throws');
84 start() {
92 }, 'underlying sink\'s write or close should not be invoked if the promise returned by start is rejected');
96 start() {
103 }, 'returning a thenable from start() should work');
107 start(controller) {
115 }, 'controller.error() during start should cause writes to fail');
121 start(c) {
139 }, 'controller.error() during async start should cause existing writes to fail');
151 start() {
163 }, 'when start() rejects, writer promises should reject in standard order');