1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/421997-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 + 1.7 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.8 + <binding id="g"> 1.9 + <implementation> 1.10 + <constructor> 1.11 + throw 3; 1.12 + </constructor> 1.13 + </implementation> 1.14 + </binding> 1.15 +</bindings> 1.16 + 1.17 +<script type="text/javascript"> 1.18 + 1.19 +function e() 1.20 +{ 1.21 + var listboxbody = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listboxbody"); 1.22 + document.getElementById("s").appendChild(listboxbody); 1.23 +} 1.24 + 1.25 +</script> 1.26 +</head> 1.27 + 1.28 +<body onerror="e();"><span id="s" style="-moz-binding: url(#g)"></span></body> 1.29 + 1.30 +</html>