Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 var lfcode = new Array();
2 lfcode.push("\
3 test();\
4 function test() {\
5 function removeAllProperties(o) {\
6 bar() = thaw, patterns;\
7 }\
8 var o = {};\
9 o.first = { toSource: function() { removeAllProperties(o); } };\
10 return o.toSource();\
11 }\
12 ");
13 lfcode.push("test();");
14 gczeal(4);
15 while (true) {
16 var file = lfcode.shift(); if (file == undefined) { break; }
17 loadFile(file);
18 }
19 function loadFile(lfVarx) {
20 try {
21 evaluate(lfVarx);
22 } catch (lfVare) { }
23 }