2025-03-18 15:28:35 -03:00
|
|
|
<!DOCTYPE html>
|
2025-02-27 11:50:22 -03:00
|
|
|
<script src="../include.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
asyncTest((done) => {
|
|
|
|
|
{
|
2025-03-10 08:46:14 -03:00
|
|
|
const ws = new WebSocket('wss://websocket-echo.app.ladybird.org');
|
2025-02-27 11:50:22 -03:00
|
|
|
|
|
|
|
|
ws.onopen = () => {
|
|
|
|
|
};
|
|
|
|
|
ws.onmessage = () => {
|
|
|
|
|
};
|
|
|
|
|
ws.onerror = () => {
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
internals.gc();
|
|
|
|
|
println("PASS! (Didn't crash)");
|
|
|
|
|
done();
|
|
|
|
|
}, 0);
|
|
|
|
|
});
|
|
|
|
|
</script>
|