mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Test for bug 679459.
This commit is contained in:
parent
d77366f05b
commit
ab3a8c4bf0
21
content/base/crashtests/679459.html
Normal file
21
content/base/crashtests/679459.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var t = document.createTextNode("a");
|
||||
document.body.appendChild(t);
|
||||
var r1 = document.createRange();
|
||||
r1.setEnd(t, 1);
|
||||
var r2 = document.createRange();
|
||||
r2.setEnd(t, 0);
|
||||
r2.deleteContents();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
@ -93,4 +93,5 @@ load 642022-1.html
|
||||
load 646184.html
|
||||
load 658845-1.svg
|
||||
load 667336-1.html
|
||||
load 679459.html
|
||||
load 679689-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user