Bug 1240521 - Fix the test case to ensure that oomAfterAllocation is defined. r=red, a=test-only

This commit is contained in:
Nicolas B. Pierron 2016-03-08 14:22:47 +00:00
parent 0ec6077369
commit 588b8b63db

View File

@ -1,4 +1,8 @@
// |jit-test| allow-oom
if (!('oomAfterAllocations' in this))
quit();
var egc = 138;
function SwitchTest(value) {
switch (value) {