aboutsummaryrefslogtreecommitdiffstats
path: root/resources/neterror.html
diff options
context:
space:
mode:
authorJohann Hofmann <mail@johann-hofmann.com>2016-07-21 15:12:12 +0200
committerJohann Hofmann <mail@johann-hofmann.com>2016-07-21 16:06:13 +0200
commit8e3593aa670c1bd5d775870c3b75852859bbd572 (patch)
tree4d7b64cf502e2ca7326b90d0935dc1694eb2eb04 /resources/neterror.html
parent46db988b906fbec0286fa07387bb34e76a5b3a94 (diff)
downloadservo-8e3593aa670c1bd5d775870c3b75852859bbd572.tar.gz
servo-8e3593aa670c1bd5d775870c3b75852859bbd572.zip
Improve page load error information
Fixes #8640. This commit adds a neterror page that displays really really basic information about what went wrong with your request, which is an improvement over the current state of blank page. It also fixes the problem of certificate validation errors not triggering the cert error page, since for some reason the function string seems to have turned lowercase.
Diffstat (limited to 'resources/neterror.html')
-rw-r--r--resources/neterror.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/neterror.html b/resources/neterror.html
new file mode 100644
index 00000000000..8af6cbb2d08
--- /dev/null
+++ b/resources/neterror.html
@@ -0,0 +1,8 @@
+<html>
+<head>
+ <title>Error loading page</title>
+</head>
+<body>
+ <p>Could not load the requested page: ${reason}</p>
+</body>
+</html>