mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40: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");
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue