dom/base/crashtests/1370737.html
author Marco Castelluccio <mcastelluccio@mozilla.com>
Mon, 25 Oct 2021 08:17:34 +0000
changeset 596805 8f78ed673519de2dd9d88ef0e6ee7466eeeee667
parent 363701 0fbb76f06ce14570b5a63d85c53a7155c608a92f
permissions -rw-r--r--
Bug 1737285 - Use pathlib to retrieve the relative path to the Visual Studio SDK. r=calixte,firefox-build-system-reviewers,mhentges DONTBUILD To avoid checking for a relative path using string operations, that can fail on Windows when the paths have different casing. Differential Revision: https://phabricator.services.mozilla.com/D129303

<html class="reftest-wait">
<script>
document.addEventListener("DOMContentLoaded", function(){
  let n=document.getElementById('a');
  n.parentNode.removeChild(n);
  let o=document.getElementById('b');
  let p=document.getElementById('c');
  p.id=[o.id, o.id=p.id][0];
  let l=['d'];
  let s=window.getSelection();
  for(let i=0; i<l.length; i++){
    let e=document.getElementById(l[i]);
    let r=document.createRange();
    r.selectNode(e);
    s.addRange(r);
  }
  n=document.getElementById('b');
  n.parentNode.removeChild(n);
  window.getSelection().modify('extend','right','word');
  n.setAttribute('id','e');
  document.getElementById('f').appendChild(n);
  l=['e'];
  for(let i=0; i<l.length; i++){
    let e=document.getElementById(l[i]);
    let r=document.createRange();
    r.selectNode(e);
    s.addRange(r);
  }
  document.documentElement.removeAttribute("class");
});
</script>
<table>
<tbody hidden>
<th id='c'>
<i id='d'>
<bdo id='b'></bdo>
<td></td>
<tbody id='f'>
<td id='a' contenteditable='true'>
<td>
</html>