mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 1239666 - part 2, dom/indexedDB change. r=khuey
--HG-- extra : rebase_source : 1e6fc476f61ab42b5ed59b68506fc2ac5e7ea10a extra : histedit_source : a093ba98d7ac9353cc24b7d93c18d77ed4496d42
This commit is contained in:
parent
f23bd7b66d
commit
afa80bc73e
@ -23228,8 +23228,9 @@ NormalJSRuntime::Init()
|
||||
|
||||
JSAutoRequest ar(mContext);
|
||||
|
||||
JS::CompartmentOptions options;
|
||||
mGlobal = JS_NewGlobalObject(mContext, &kGlobalClass, nullptr,
|
||||
JS::FireOnNewGlobalHook);
|
||||
JS::FireOnNewGlobalHook, options);
|
||||
if (NS_WARN_IF(!mGlobal)) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user