Bug 1239666 - part 2, dom/indexedDB change. r=khuey
authorLars T Hansen <lhansen@mozilla.com>
Mon, 18 Jan 2016 09:48:23 +0100
changeset 280658 85f60fdd98fa
parent 280657 591c698895a2
child 280659 cbb0ad1e2118
push id70552
push userlhansen@mozilla.com
push dateWed, 20 Jan 2016 14:06:18 +0000
treeherdermozilla-inbound@cbb0ad1e2118 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs1239666
milestone46.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
Bug 1239666 - part 2, dom/indexedDB change. r=khuey
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -23223,18 +23223,19 @@ NormalJSRuntime::Init()
 
   mContext = JS_NewContext(mRuntime, 0);
   if (NS_WARN_IF(!mContext)) {
     return false;
   }
 
   JSAutoRequest ar(mContext);
 
+  JS::CompartmentOptions options;
   mGlobal = JS_NewGlobalObject(mContext, &kGlobalClass, nullptr,
-                               JS::FireOnNewGlobalHook);
+                               JS::FireOnNewGlobalHook, options);
   if (NS_WARN_IF(!mGlobal)) {
     return false;
   }
 
   return true;
 }
 
 // static