mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make tests pass once more.
This commit is contained in:
parent
720458c233
commit
cbc8006c60
2 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,8 @@ use std::io;
|
|||
use std::io::File;
|
||||
use servo_util::task::spawn_named;
|
||||
|
||||
static READ_SIZE: uint = 1024;
|
||||
//FIXME: https://github.com/mozilla/rust/issues/12892
|
||||
static READ_SIZE: uint = 1;
|
||||
|
||||
fn read_all(reader: &mut io::Stream, progress_chan: &Chan<ProgressMsg>)
|
||||
-> Result<(), ()> {
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
is_not(new_div, null, "test4-0, append an invalid element to a new document");
|
||||
|
||||
new_document.body = new_div;
|
||||
should_throw(function() {
|
||||
new_document.body = new_div;
|
||||
});
|
||||
is(new_document.body, null, "test4-1, append an invalid element to a new document");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue