diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/basic/testOOMInAutoEnterCompartment.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/basic/testOOMInAutoEnterCompartment.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,18 @@ +// |jit-test| slow +// This test is too slow to run with ASan in a debug configuration +if (getBuildConfiguration()['asan'] && getBuildConfiguration()['debug']) quit(0); + +function fatty() { + try { + fatty(); + } catch (e) { + foo(); + } +} + +if (!getBuildConfiguration()['root-analysis']) { // >:( + foo = evalcx("(function foo() { foo.bar() })"); + foo.bar = evalcx("(function bar() {})"); + + fatty(); +}