bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking

This commit is contained in:
Olli Pettay 2008-10-15 12:41:54 +03:00
Родитель 3cba110fca
Коммит be6e2ff3ec
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -82,10 +82,8 @@ function testFails (test) {
}
function markTodos() {
if (todoTests[docName]) {
// mark the failures as todos
var failures = filter(testFails, SimpleTest._tests);
// shouldn't be 0 failures
todo(SimpleTest._tests != 0 && failures == 0, "test marked todo should fail somewhere");
ok(SimpleTest._tests != 0 && failures == 0, "test failed somewhere");
}
}