blob: 33ce4d64695098d23269b34228bf54110c291a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// |jit-test| allow-oom; allow-overrecursed
gcPreserveCode();
evaluate("gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4*1024);");
evaluate("\
function testDontEnum(F) { \
function test() {\
var upvar = \"\";\
function f() { upvar += \"\"; }\
typeof (new test(\"1\")) != 'function'\
}\
test();\
} \
var list = [];\
for (i in list)\
var F = this[list[i]];\
actual = testDontEnum(F);\
");
|