summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1429523.html
blob: 67b227d20b50fb57e09fd30773c739ce81ac4421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
  <head>
    <script>
      document.designMode = "on";
      Promise.all([
        new Promise(resolve => addEventListener("load", resolve)),
        new Promise(resolve => addEventListener("focus", resolve)),
      ]).then(() => {
        document.body.firstChild.data = "";
        document.documentElement.removeAttribute("class");
      });
      blur();
      focus();
      getSelection().collapse(document.body, 0);
    </script>
  </head>
  <body><!-- comment --></body>
</html>