js/xpconnect/crashtests/504000-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/crashtests/504000-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +
    1.10 +function f() {
    1.11 +  for (var j in { a:1, b:2, c:3, d:4, e:5 }) {
    1.12 +  }
    1.13 +}
    1.14 +
    1.15 +function boom()
    1.16 +{
    1.17 +  f();
    1.18 +  Function.prototype.__defineGetter__("xxx", function(){});
    1.19 +}
    1.20 +
    1.21 +</script></head>
    1.22 +
    1.23 +<body onload="boom();"></body>
    1.24 +</html>

mercurial