File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
tests/wpt/meta/streams/writable-streams Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -851,13 +851,13 @@ impl WritableStreamDefaultController {
851
851
chunk : SafeHandleValue ,
852
852
can_gc : CanGc ,
853
853
) -> f64 {
854
- // If controller.[[strategySizeAlgorithm]] is undefined,
854
+ // If controller.[[strategySizeAlgorithm]] is undefined, then:
855
855
let Some ( strategy_size) = self . strategy_size . borrow ( ) . clone ( ) else {
856
- // Assert: controller.[[stream]].[[state]] is "erroring" or "errored ".
856
+ // Assert: controller.[[stream]].[[state]] is not "writable ".
857
857
let Some ( stream) = self . stream . get ( ) else {
858
858
unreachable ! ( "Controller should have a stream" ) ;
859
859
} ;
860
- assert ! ( stream. is_erroring ( ) || stream . is_errored ( ) ) ;
860
+ assert ! ( ! stream. is_writable ( ) ) ;
861
861
862
862
// Return 1.
863
863
return 1.0 ;
Original file line number Diff line number Diff line change 21
21
22
22
[close.any.shadowrealm-in-shadowrealm.html]
23
23
expected: ERROR
24
-
25
- [close.any.worker.html]
26
- expected: CRASH
27
-
28
- [close.any.html]
29
- expected: CRASH
You can’t perform that action at this time.
0 commit comments