Files
ladybird/Tests/LibWeb/Text/input/Fetch/network-error-on-connection-failure.html
Jelle Raaijmakers d1f98d596d RequestServer: Check for curl errors before sending headers
I noticed TLS errors only being dumped to stderr, but not shown on our
regular error page. This restores that behavior and adds a regression
test.
2026-03-12 13:17:18 -04:00

14 lines
334 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async (done) => {
try {
await fetch("http://127.0.0.1:2/", { mode: "no-cors" });
println("FAIL: fetch resolved instead of rejecting");
} catch (e) {
println(e);
}
done();
});
</script>