content/xbl/crashtests/336960-1-inner.xhtml
author Drew Willcoxon <adw@mozilla.com>
Wed, 05 Jun 2013 17:07:55 -0700
changeset 134173 3f4ad11d56da4b29ee44fe238ecce312204cdc85
parent 27741 6ad02f8a56adcda3ae61978e48e875925fd9b534
permissions -rw-r--r--
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan

<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>