diff options
author | Keegan McAllister <kmcallister@mozilla.com> | 2014-01-08 15:52:49 -0800 |
---|---|---|
committer | Keegan McAllister <kmcallister@mozilla.com> | 2014-02-12 18:07:32 -0800 |
commit | e7aa445e520e7daa504ae1bec1fe1f262dbd1b9e (patch) | |
tree | d34917e4c688e1d419f3b70387fb9f07528dea9e /src | |
parent | 1d190234862b3d9bf71206ba007606a653d80334 (diff) | |
download | servo-e7aa445e520e7daa504ae1bec1fe1f262dbd1b9e.tar.gz servo-e7aa445e520e7daa504ae1bec1fe1f262dbd1b9e.zip |
Change the mechanism behind summit-crash.html
Diffstat (limited to 'src')
-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> |