зеркало из https://github.com/mozilla/gecko-dev.git
Bug 715056 - Crash test.
This commit is contained in:
Родитель
06e71a8aa2
Коммит
56b76d1c87
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var t1 = document.createTextNode("a");
|
||||
var t2 = document.createTextNode("b");
|
||||
document.appendChild(t1);
|
||||
document.appendChild(t2);
|
||||
var sel = window.getSelection();
|
||||
sel.collapse(t2, 0)
|
||||
document.normalize();
|
||||
sel.removeAllRanges();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -105,3 +105,4 @@ load xhr_html_nullresponse.html
|
|||
load 709384.html
|
||||
load 713417.html
|
||||
load 713417-2.html
|
||||
load 715056.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче