summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug728609.js
blob: cd6f088e791c025949bbb8dafc33dfe951d3eaf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var lfcode = new Array();
lfcode.push("\
test();\
function test() {\
  function removeAllProperties(o) {\
    bar() = thaw, patterns;\
  }\
  var o = { method: function() { this.first.method(); } };\
  o.first = { method: function() { removeAllProperties(o); } };\
  return o.method();\
}\
");
lfcode.push("test();");
gczeal(4);
while (true) {
        var file = lfcode.shift(); if (file == undefined) { break; }
                loadFile(file);
}
function loadFile(lfVarx) {
        try {
                        evaluate(lfVarx);
        } catch (lfVare) {      }
}