content/xul/content/crashtests/425821-1.xul
author David Mandelin <dmandelin@mozilla.com>
Mon, 09 Aug 2010 18:29:34 -0700
changeset 53358 688ca6c81137c6972b5a7f172394c7b4d332e93d
parent 19227 2ccbb23a348f435dd9cb2bb6272672f4f61a7d5c
child 219873 afcb3af79d09513b2772c629c23a0d9f7b7437b4
permissions -rw-r--r--
[JAEGER] Bug 585801 trial fix: innerize object passed as scope chain for JS evaluation

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  onload="boom();">
<script type="text/javascript">

function boom()
{
  var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  var wiz = document.createElementNS(XUL_NS, "wizard");
  var btn = document.createElementNS(XUL_NS, "hbox");
  btn.setAttribute("anonid", "Buttons");
  wiz.appendChild(btn);
  wiz.cloneNode(true);
}

</script>
</window>