aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/url.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/util/url.rs')
-rw-r--r--src/components/util/url.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/util/url.rs b/src/components/util/url.rs
index 5010c374769..6dd78e25cdd 100644
--- a/src/components/util/url.rs
+++ b/src/components/util/url.rs
@@ -59,6 +59,9 @@ pub fn parse_url(str_url: &str, base_url: Option<Url>) -> Url {
match scheme.as_slice() {
"about" => {
match page.as_slice() {
+ "crash" => {
+ fail!("about:crash");
+ }
"failure" => {
let mut path = os::getcwd();
path.push("../src/test/html/failure.html");