mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
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.
14 lines
334 B
HTML
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>
|