summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1505811.html
blob: 10be85c6dda3bb226fef94900b0f21e451e753b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>

<head>
  <script>
    function start() {
      window.CustomElement0 = class extends HTMLElement {
        constructor() {
          super()
        }
        connectedCallback() {
          this.before('', custom)
          this.outerHTML = '<input pattern=""value=ð>'
        }
      }
      customElements.define('custom-element-0', CustomElement0)
      custom = document.createElementNS('http://www.w3.org/1999/xhtml', 'custom-element-0')
      document.documentElement.appendChild(custom)
    }

    document.addEventListener('DOMContentLoaded', start)
  </script>
</head>

</html>