зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3cba110fca
Коммит
be6e2ff3ec
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче