mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 03:17:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
29
editor/libeditor/crashtests/716456-1.html
Normal file
29
editor/libeditor/crashtests/716456-1.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var div = document.querySelector("div");
|
||||
div.contentEditable = "true";
|
||||
div.focus();
|
||||
|
||||
var r = document.documentElement;
|
||||
document["removeChild"](r);
|
||||
document["appendChild"](r);
|
||||
|
||||
setTimeout(function() {
|
||||
getSelection().collapse(div, 0);
|
||||
document.execCommand("inserthtml", false, "a");
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 0);
|
||||
}, 0);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><div></div></body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue