And fix this to actually compile... Still bug 1160311.

This commit is contained in:
Boris Zbarsky
2015-04-30 21:58:07 -04:00
parent 93b11a87fa
commit e3d4ec0970

View File

@@ -63,8 +63,8 @@ BEGIN_TEST(testChromeBuffer)
* buffer space.
*/
{
JSRuntimeOptions oldOptions = JS::RuntimeOptionsRef(rt);
// Disable the JIT because if we don't this test fails. See bug 1160414.
JS::RuntimeOptions oldOptions = JS::RuntimeOptionsRef(rt);
JS::RuntimeOptionsRef(rt).setIon(false).setBaseline(false);
{
JSAutoCompartment ac(cx, trusted_glob);