summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/327776-1.xul
blob: af889493cd73683887b43ca9eb0ac7f11d8ac964 (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
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script>
<![CDATA[
function init()
{ 
  var span = document.getElementsByTagName("span")[0]; 
  var boxobj = document.getBoxObjectFor(span);
  try {
    boxobj.setPropertyAsSupports(undefined, undefined);
  } catch(e) {
  }
}
window.addEventListener("load", init, false);
]]>
</script>

<body xmlns="http://www.w3.org/1999/xhtml">

<span></span>

</body>
</window>