LibWeb: Enable callbacks for ByteStreamTeeBYOBReadRequest::on_chunk

Fixes a crash running the imported WPT test.
This commit is contained in:
Shannon Booth
2024-11-09 21:35:34 +13:00
committed by Tim Flynn
parent d31014d135
commit 45537efcef
Notes: github-actions[bot] 2024-11-09 13:11:49 +00:00
4 changed files with 826 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
<!doctype html>
<meta charset=utf-8>
<script>
self.GLOBAL = {
isWindow: function() { return true; },
isWorker: function() { return false; },
isShadowRealm: function() { return false; },
};
</script>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/rs-utils.js"></script>
<script src="../resources/test-utils.js"></script>
<div id=log></div>
<script src="../../streams/readable-byte-streams/read-min.any.js"></script>