testOOMInAutoEnterCompartment.js (359B)
1 // |jit-test| slow; skip-if: (getBuildConfiguration("asan") && getBuildConfiguration("debug")) 2 // This test is too slow to run at all with ASan in a debug configuration 3 4 function fatty() { 5 try { 6 fatty(); 7 } catch (e) { 8 foo(); 9 } 10 } 11 12 13 foo = evalcx("(function foo() { foo.bar() })"); 14 foo.bar = evalcx("(function bar() {})"); 15 16 fatty();