Crashtest for bug 770710; r=roc

This commit is contained in:
Ehsan Akhgari 2012-08-30 21:32:27 -04:00
parent 89cd886155
commit 44c1c62b8a
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var mo = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mo");
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>

View File

@ -1 +1,2 @@
load 462929-1.html
load 770710-1.html