Bug 1188347 - Part 3: Only run test relying on debug builds in debug builds. r=bustage

This commit is contained in:
Till Schneidereit 2015-09-23 15:03:18 +02:00
parent 0eb112ec10
commit 3d83f9a920

View File

@ -1,7 +1,9 @@
var a = [];
oomAtAllocation(1);
try {
a.forEach();
} catch (e) {
if (typeof oomAtAllocation === 'object') {
var a = [];
oomAtAllocation(1);
try {
a.forEach();
} catch (e) {
}
a.forEach(()=>1);
}
a.forEach(()=>1);