1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00
serenity/Tests/LibWeb/Text/expected/Streams/QueuingStrategy-high-water-mark.txt

20 lines
731 B
Text

======================================
CountQueuingStrategy
======================================
'{"highWaterMark":2}' => 2
'{"highWaterMark":-1}' => -1
'{"badKey":-1}' => Exception raised of TypeError
'{}' => Exception raised of TypeError
'"string instead"' => Exception raised of TypeError
'{"highWaterMark":"wrongType"}' => NaN
'{"highWaterMark":{}}' => NaN
======================================
ByteLengthQueuingStrategy
======================================
'{"highWaterMark":2}' => 2
'{"highWaterMark":-1}' => -1
'{"badKey":-1}' => Exception raised of TypeError
'{}' => Exception raised of TypeError
'"string instead"' => Exception raised of TypeError
'{"highWaterMark":"wrongType"}' => NaN
'{"highWaterMark":{}}' => NaN