diff options
-rw-r--r-- | src/components/util/url.rs | 3 | ||||
-rw-r--r-- | src/test/html/summit-bad-page.html | 13 | ||||
-rw-r--r-- | src/test/html/summit-crash.html | 2 |
3 files changed, 4 insertions, 14 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"); diff --git a/src/test/html/summit-bad-page.html b/src/test/html/summit-bad-page.html deleted file mode 100644 index 5ac3c134d99..00000000000 --- a/src/test/html/summit-bad-page.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <title>crash page</title> - </head> - <body> - <audio> - <source src="horse.ogg" type="audio/ogg"> - <source src="horse.mp3" type="audio/mpeg"> - </audio> - <pre>pre</pre> - </body> -</html> diff --git a/src/test/html/summit-crash.html b/src/test/html/summit-crash.html index 17702018b63..56360ef28c9 100644 --- a/src/test/html/summit-crash.html +++ b/src/test/html/summit-crash.html @@ -10,6 +10,6 @@ </style> </head> <body> - <a href="summit-bad-page.html">here be dragons</a> + <a href="about:crash">here be dragons</a> </body> </html> |