Tests for bug 613662 tweak - Comment out the part of the test that fail due to bug 676808. r=Olli.Pettay.

This commit is contained in:
Henri Sivonen 2011-08-05 15:56:34 +03:00
Родитель 44d8a5996e
Коммит 797bf13793
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -104,7 +104,7 @@ function mutationEventListener(evt) {
is(evt.type, expected[0], "Unexpected mutation type");
is(evt.relatedNode, expected[1], "Unexpected related node");
}
/*
document.addEventListener("DOMSubtreeModified", mutationEventListener, false);
document.addEventListener("DOMNodeInserted", mutationEventListener, false);
document.addEventListener("DOMNodeRemoved", mutationEventListener, false);
@ -117,7 +117,7 @@ testPositions(content2); // without next sibling
testPositions(content2); // test again when there's next sibling
is(events.length, 0, "Not all expected events fired.");
*/
// HTML only
document.body.insertAdjacentHTML("afterend", "<p>");
document.head.insertAdjacentHTML("beforebegin", "<p>");