And fix this to actually compile... Still bug 1160311.
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 30 Apr 2015 21:58:07 -0400
changeset 273320 83082fcebedc934a8e78a5fca6dc4e858194be84
parent 273319 53fadc2749bba3c6676fb5e1e27e909ef00cc089
child 273321 6e0c202e4469067f8eb3364623c1592a2e745825
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1160311
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
And fix this to actually compile... Still bug 1160311.
js/src/jsapi-tests/testChromeBuffer.cpp
--- a/js/src/jsapi-tests/testChromeBuffer.cpp
+++ b/js/src/jsapi-tests/testChromeBuffer.cpp
@@ -58,18 +58,18 @@ BEGIN_TEST(testChromeBuffer)
     JS::RootedFunction fun(cx);
 
     /*
      * Check that, even after untrusted content has exhausted the stack, code
      * compiled with "trusted principals" can run using reserved trusted-only
      * 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);
             const char* paramName = "x";
             const char* bytes = "return x ? 1 + trusted(x-1) : 0";
             JS::CompileOptions options(cx);
             options.setFileAndLine("", 0);
             JS::AutoObjectVector emptyScopeChain(cx);