summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1393806.html
blob: 4e859bf602c5178adcabb3eb703027f4e10688ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
  <head>
    <script>
      function fun_0() {
        document.implementation.createDocument('', '', null).adoptNode(o2);
      }

      o1 = document.createElement('map');
      o2 = document.createElement('iframe');
      document.documentElement.appendChild(o1);
      document.documentElement.appendChild(o2);
      o1.textContent = 'x';
      document.addEventListener('DOMNodeRemoved', fun_0, false);
      o1.innerText = 'x';
    </script>
  </head>
</html>