diff --git a/Tests/LibWeb/Text/expected/Streams/TransformStream-flush-callback.txt b/Tests/LibWeb/Text/expected/Streams/TransformStream-flush-callback.txt
new file mode 100644
index 0000000000..3d65b242bc
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/Streams/TransformStream-flush-callback.txt
@@ -0,0 +1,5 @@
+Done: false
+HELLO, WORLD!
+Done: false
+Enqueued in flush, this the last chunk that will be processed.
+Done: true
diff --git a/Tests/LibWeb/Text/input/Streams/TransformStream-flush-callback.html b/Tests/LibWeb/Text/input/Streams/TransformStream-flush-callback.html
new file mode 100644
index 0000000000..fb3310bcdd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/Streams/TransformStream-flush-callback.html
@@ -0,0 +1,25 @@
+
+