gecko-dev/editor/libeditor/crashtests/1350772.html
Makoto Kato 7b1f32af65 Bug 1350772 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: 9jQyvpXFl1E

--HG--
extra : rebase_source : f1a2f9dcc74291c382bc106757b032d42da185be
2017-03-27 14:41:21 +09:00

17 lines
338 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
addEventListener("DOMContentLoaded", () => {
try {
document.designMode = 'on';
document.removeChild(document.documentElement);
document.appendChild(document.createElement("p"));
document.execCommand("insertParagraph", false, null);
} catch(e) {
}
});
</script>
</head>
</html>