Change the mechanism behind summit-crash.html

This commit is contained in:
Keegan McAllister 2014-01-08 15:52:49 -08:00
parent 1d19023486
commit e7aa445e52
3 changed files with 4 additions and 14 deletions

View file

@ -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");