diff --git a/Tests/LibWeb/Text/expected/Streams/QueuingStrategy-high-water-mark.txt b/Tests/LibWeb/Text/expected/Streams/QueuingStrategy-high-water-mark.txt new file mode 100644 index 0000000000..f9083a33ab --- /dev/null +++ b/Tests/LibWeb/Text/expected/Streams/QueuingStrategy-high-water-mark.txt @@ -0,0 +1,20 @@ +====================================== +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 diff --git a/Tests/LibWeb/Text/input/Streams/QueuingStrategy-high-water-mark.html b/Tests/LibWeb/Text/input/Streams/QueuingStrategy-high-water-mark.html new file mode 100644 index 0000000000..13fd651ac9 --- /dev/null +++ b/Tests/LibWeb/Text/input/Streams/QueuingStrategy-high-water-mark.html @@ -0,0 +1,33 @@ + +