Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /mathml/crashtests/mozilla/770710-1.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
  var text = document.createTextNode(" ");
  mo.appendChild(text);
  document.body.appendChild(mo);
  window.getSelection().removeAllRanges();
  var r = document.createRange();
  r.setStart(mo.firstChild, 0);
  r.setEnd(mo.firstChild, 1);
  window.getSelection().addRange(r);
  window.getSelection().toString();
}
</script>
</head>
<body onload="boom();"></body>
</html>