Tests for bug 613662 tweak - Comment out the part of the test that fail due to bug 676808. r=Olli.Pettay.
authorHenri Sivonen <hsivonen@iki.fi>
Fri, 05 Aug 2011 15:56:34 +0300
changeset 73909 fc40a7ae42cae6fde58084882e62930b24ce8ed4
parent 73908 d900907a1038615ee66af66318fcceee4e5f5ab8
child 73910 899a225fd580f3d05f1916df40cad91ea98af496
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersOlli
bugs613662, 676808
milestone8.0a1
Tests for bug 613662 tweak - Comment out the part of the test that fail due to bug 676808. r=Olli.Pettay.
parser/htmlparser/tests/mochitest/test_bug613662.html
--- a/parser/htmlparser/tests/mochitest/test_bug613662.html
+++ b/parser/htmlparser/tests/mochitest/test_bug613662.html
@@ -99,30 +99,30 @@ var events = [
   [ "DOMSubtreeModified", null ]
 ];
 
 function mutationEventListener(evt) {
   var expected = events.shift();
   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);
 document.addEventListener("DOMNodeRemovedFromDocument", mutationEventListener, false);
 document.addEventListener("DOMNodeInsertedIntoDocument", mutationEventListener, false);
 document.addEventListener("DOMAttrModified", mutationEventListener, false);
 document.addEventListener("DOMCharacterDataModified", mutationEventListener, false);
 
 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>");
 is(document.getElementsByTagName("head").length, 1, "Should still have one head");
 is(document.getElementsByTagName("body").length, 1, "Should still have one body");
 
 </script>
 </pre>