ladybird/Tests/LibWeb/Text/input/wpt-import/encoding/encodeInto.any.html
Glenn Skrzypczak d37d0e4b59 LibWeb: Prevent crash when encoding into detached buffer
This handles the case where data is encoded into a detached buffer.
2025-04-19 07:08:12 -04:00

15 lines
430 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="../common/sab.js"></script>
<div id=log></div>
<script src="../encoding/encodeInto.any.js"></script>