content/xbl/crashtests/336960-1-inner.xhtml
author Ed Morley <emorley@mozilla.com>
Mon, 14 May 2012 21:05:24 +0100
changeset 93909 3f7291bc4efc003964fb98b1390019771042f3ac
parent 27741 6ad02f8a56adcda3ae61978e48e875925fd9b534
permissions -rw-r--r--
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <script>
    var x=document.createElementNS('http://www.w3.org/1999/xhtml','style');
    document.documentElement.appendChild(x);
    function doe(){
      var y=document.getElementsByTagName('style')[0];
    }
    setTimeout(doe,500);
  </script>

  <style>
  style {-moz-binding:url(#randomxbl);}
  </style>

  <bindings xmlns="http://www.mozilla.org/xbl">
    <binding id="randomxbl">
      <implementation>
        <constructor>
          var x= parent.document.getElementsByTagName('iframe')[0];
x.parentNode.removeChild(x);
        </constructor>
      </implementation>
    </binding>
  </bindings>
</head>
<body>
</body>
</html>