mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
22 lines
488 B
HTML
22 lines
488 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest((done) => {
|
|
{
|
|
const ws = new WebSocket('wss://websocket-echo.app.ladybird.org');
|
|
|
|
ws.onopen = () => {
|
|
};
|
|
ws.onmessage = () => {
|
|
};
|
|
ws.onerror = () => {
|
|
};
|
|
}
|
|
|
|
setTimeout(() => {
|
|
internals.gc();
|
|
println("PASS! (Didn't crash)");
|
|
done();
|
|
}, 0);
|
|
});
|
|
</script>
|