Bug 1341137 part 3 - Update a reftest reference to account for the new AddRange behavior.
authorMats Palmgren <mats@mozilla.com>
Sat, 25 Feb 2017 11:33:34 +0100
changeset 373957 3fd74df6d77fb1384481c370c7c155fc5065cdeb
parent 373956 31f4db063fe85475ac31401318a6dfa80bccd28f
child 373958 eb61b6e1e6b36660c95adb2189a33ca29a41164b
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1341137
milestone54.0a1
Bug 1341137 part 3 - Update a reftest reference to account for the new AddRange behavior.
layout/reftests/selection/dom-mutations-ref.html
--- a/layout/reftests/selection/dom-mutations-ref.html
+++ b/layout/reftests/selection/dom-mutations-ref.html
@@ -139,30 +139,20 @@ 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) {