@@ -329,7 +329,6 @@ export default {
329329 comment : 'To be investigated' ,
330330 expectedFailures : [
331331 'ReadableStream with byte source (empty): calling getReader with invalid arguments should throw appropriate errors' ,
332- 'ReadableStream with byte source (empty) default reader: canceling via the reader should cause the reader to act closed' ,
333332 'ReadableStream with byte source (empty) BYOB reader: canceling via the reader should cause the reader to act closed' ,
334333 ] ,
335334 } ,
@@ -338,7 +337,6 @@ export default {
338337 comment : 'To be investigated' ,
339338 expectedFailures : [
340339 'Async iterator instances should have the correct list of properties' ,
341- 'return(); next()' ,
342340 'return(); next() [no awaiting]' ,
343341 'return(); return() [no awaiting]' ,
344342 'return(); next() with delayed cancel() [no awaiting]' ,
@@ -348,8 +346,6 @@ export default {
348346 'next() that succeeds; return() [no awaiting]' ,
349347 'next() that succeeds; next() that reports an error; next()' ,
350348 'next() that succeeds; next() that reports an error(); return()' ,
351- 'Async-iterating a pull source manually' ,
352- 'return(); next() with delayed cancel()' ,
353349 ] ,
354350 } ,
355351 'readable-streams/bad-strategies.any.js' : {
@@ -444,11 +440,6 @@ export default {
444440 'ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error' ,
445441 // TODO(conform): The spec expects this to be a TypeError, not a RangeError
446442 'getReader() should call ToString() on mode' ,
447- // In the actual WPT, the result is expected to explicitly contain `value: undefined`,
448- // but we omit that.
449- 'Reading twice on a stream that gets closed' ,
450- // TODO: Investigate why this test is failing
451- 'Reading twice on a closed stream' ,
452443 ] ,
453444 } ,
454445 'readable-streams/floating-point-total-queue-size.any.js' : {
@@ -478,20 +469,7 @@ export default {
478469 'ReadableStream.from: cancel() rejects when return() throws synchronously' ,
479470 'ReadableStream.from accepts an array of promises' ,
480471 'ReadableStream.from accepts a sync iterable of promises' ,
481- 'ReadableStream.from accepts an empty iterable' ,
482- 'ReadableStream.from accepts an array of values' ,
483- 'ReadableStream.from accepts an array iterator' ,
484- 'ReadableStream.from accepts a Set' ,
485- 'ReadableStream.from accepts a Set iterator' ,
486- 'ReadableStream.from accepts a sync generator' ,
487- 'ReadableStream.from accepts a sync iterable of values' ,
488- 'ReadableStream.from accepts an async iterable' ,
489- 'ReadableStream.from accepts an async generator' ,
490- 'ReadableStream.from accepts a ReadableStream' ,
491- 'ReadableStream.from accepts a ReadableStream async iterator' ,
492472 'ReadableStream.from ignores a null @@asyncIterator' ,
493- 'ReadableStream.from: return() is not called when iterator completes normally' ,
494- 'ReadableStream.from(array), push() to array while reading' ,
495473 'ReadableStream.from: cancelling the returned stream calls and awaits return()' ,
496474 ] ,
497475 } ,
@@ -593,14 +571,11 @@ export default {
593571 'readable-streams/tee.any.js' : {
594572 comment : 'To be investigated' ,
595573 expectedFailures : [
596- 'ReadableStream teeing: should be able to read one branch to the end without affecting the other' ,
597574 'ReadableStream teeing: errors in the source should propagate to both branches' ,
598575 'ReadableStreamTee should only pull enough to fill the emptiest queue' ,
599576 'ReadableStreamTee stops pulling when original stream errors while branch 1 is reading' ,
600577 'ReadableStreamTee stops pulling when original stream errors while branch 2 is reading' ,
601578 'ReadableStreamTee stops pulling when original stream errors while both branches are reading' ,
602- 'ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream' ,
603- 'ReadableStream teeing: enqueue() and close() while both branches are pulling' ,
604579 'ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array' ,
605580 'ReadableStream teeing: canceling both branches in reverse order should aggregate the cancel reasons into an array' ,
606581 'ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches' ,
@@ -616,25 +591,12 @@ export default {
616591 ] ,
617592 expectedFailures : [
618593 'ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors' ,
619- 'ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed' ,
620- 'ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true }' ,
621- 'ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true }' ,
622- 'ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback' ,
623594 'ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity' ,
624- 'ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true }' ,
625- 'ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true }' ,
626- 'ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback' ,
627595 'ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity' ,
628- 'ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true }' ,
629- 'ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true }' ,
630- 'ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback' ,
631596 'ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity' ,
632597 'ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity' ,
633598 'ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity' ,
634599 'ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity' ,
635- 'ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result' ,
636- 'ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential)' ,
637- 'ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested)' ,
638600 ] ,
639601 } ,
640602
0 commit comments