LibWeb: Reorder step to get chunk size after checking for aborted stream

This fixes a crash seen on:

http://wpt.live/streams/writable-streams/aborting.any.html

I believe this is a spec bug, which has been reported to the Streams
spec.
This commit is contained in:
Shannon Booth 2024-11-10 00:15:59 +13:00 committed by Tim Flynn
commit d31014d135
Notes: github-actions[bot] 2024-11-09 13:10:46 +00:00
4 changed files with 1582 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/test-utils.js"></script>
<script src="../resources/recording-streams.js"></script>
<div id=log></div>
<script src="../../streams/writable-streams/aborting.any.js"></script>

File diff suppressed because it is too large Load diff