mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Change the mechanism behind summit-crash.html
This commit is contained in:
parent
1d19023486
commit
e7aa445e52
3 changed files with 4 additions and 14 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue