Backed out changeset 8a9c68f8889a (bug 1341137)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Mon, 27 Feb 2017 16:44:08 +0100
changeset 378735 7e4bf6634af33288d442f74f23e646b72f0e9b48
parent 378734 39dc0e9c086603608f9b073b326c4dc814963fd1
child 378736 6a0ae8ac574d0b37066095efa2a075a1e5bab0cb
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1341137
milestone53.0a2
backs out8a9c68f8889a6fbb781dc84e509bc222de66c030
Backed out changeset 8a9c68f8889a (bug 1341137)
layout/reftests/selection/dom-mutations-ref.html
--- a/layout/reftests/selection/dom-mutations-ref.html
+++ b/layout/reftests/selection/dom-mutations-ref.html
@@ -139,20 +139,30 @@ var tests = [
     let r = doc.createRange();
     r.setStart(a, 0);
     r.setEnd(c, 1);
     sel.addRange(r);
   },
 
   function(win,doc,sel) {
     doc.body.innerHTML = 'I|z'
+    let a = doc.body.firstChild;
+    let r = doc.createRange();
+    r.setStart(a, 1);
+    r.setEnd(a, 2);
+    sel.addRange(r);
   },
 
   function(win,doc,sel) {
     doc.body.innerHTML = 'Iz|'
+    let a = doc.body.firstChild;
+    let r = doc.createRange();
+    r.setStart(a, 1);
+    r.setEnd(a, 2);
+    sel.addRange(r);
 
     document.body.appendChild(document.createTextNode('I'));
     document.body.appendChild(document.createTextNode(' '));
     document.body.appendChild(createDOM(document));
   },
 ]
 
 function runTestInIframe(run,t) {