mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Crashtest for bug 770710; r=roc
This commit is contained in:
parent
89cd886155
commit
44c1c62b8a
25
content/mathml/content/crashtests/770710-1.html
Normal file
25
content/mathml/content/crashtests/770710-1.html
Normal 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>
|
@ -1 +1,2 @@
|
||||
load 462929-1.html
|
||||
load 770710-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user