Lines Matching refs:strategy
6 // These tests exercise the pathological case of calling WritableStream* methods from within the strategy.size()
14 const strategy = {
23 const ws = recordingWritableStream({}, strategy);
34 const strategy = {
48 }, strategy);
64 const strategy = {
74 }, strategy);
91 }, 'controller.error() should work when called from within strategy.size()');
95 const strategy = {
102 const ws = recordingWritableStream({}, strategy);
108 }, 'close() should work when called from within strategy.size()');
112 const strategy = {
119 const ws = recordingWritableStream({}, strategy);
125 }, 'abort() should work when called from within strategy.size()');
129 const strategy = {
136 const ws = recordingWritableStream({}, strategy);
145 }, 'releaseLock() should abort the write() when called within strategy.size()');
153 const strategy = {
165 ws = recordingWritableStream({}, strategy);
174 }, 'original reader should error when new reader is created within strategy.size()');