diff --git a/js/src/jit-test/tests/gc/bug-1109922.js b/js/src/jit-test/tests/gc/bug-1109922.js index 64067fe8d4b0..8bd5c52da79c 100644 --- a/js/src/jit-test/tests/gc/bug-1109922.js +++ b/js/src/jit-test/tests/gc/bug-1109922.js @@ -1,5 +1,6 @@ - -gczeal(14); -b = {}; -b.__proto__ = evalcx("lazy"); -(function m(b) {})(b.Intl.Collator(0)) +if (this.hasOwnProperty("Intl")) { + gczeal(14); + b = {}; + b.__proto__ = evalcx("lazy"); + (function m(b) {})(b.Intl.Collator(0)) +}