mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Our existing implementation of stream piping was extremely ad-hoc. It did nothing to handle closed/errored streams, and did not read from or write to streams in a way required by the spec. This new implementation uses a custom JS::Cell to drive the read/write loop.
16 lines
459 B
HTML
16 lines
459 B
HTML
<!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/recording-streams.js"></script>
|
|
<div id=log></div>
|
|
<script src="../../streams/piping/general.any.js"></script>
|