summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1429523.xhtml
blob: da2fe16b30c00b2b8346eb4c141edce5a0d24a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html xmlns="http://www.w3.org/1999/xhtml" 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><![CDATA[ CDATA ]]></body>
</html>