js/xpconnect/crashtests/468552-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/crashtests/468552-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  var dp = document.__proto__;
    1.11 +  dp.__proto__ = new XPCNativeWrapper(new XMLSerializer);
    1.12 +  try {
    1.13 +    dp.replaceChild();
    1.14 +  } catch(e) { }
    1.15 +}
    1.16 +
    1.17 +</script>
    1.18 +</head>
    1.19 +
    1.20 +<body onload="boom();"></body>
    1.21 +</html>

mercurial