summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1350772.html
blob: e20481527d09d79bb1c60124c1dd305816906d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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>