mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix for bug 803872 (Remove remaining references to the dom.new_bindings pref). r=Ms2ger.
This commit is contained in:
parent
a185f26b64
commit
ea23f44eff
@ -2232,7 +2232,6 @@ CompartmentNameCallback(JSRuntime *rt, JSCompartment *comp,
|
||||
memcpy(buf, name.get(), name.Length() + 1);
|
||||
}
|
||||
|
||||
bool XPCJSRuntime::gNewDOMBindingsEnabled;
|
||||
bool XPCJSRuntime::gExperimentalBindingsEnabled;
|
||||
|
||||
bool PreserveWrapper(JSContext *cx, JSObject *obj)
|
||||
@ -2290,8 +2289,6 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect)
|
||||
#endif
|
||||
|
||||
DOM_InitInterfaces();
|
||||
Preferences::AddBoolVarCache(&gNewDOMBindingsEnabled, "dom.new_bindings",
|
||||
false);
|
||||
Preferences::AddBoolVarCache(&gExperimentalBindingsEnabled,
|
||||
"dom.experimental_bindings",
|
||||
false);
|
||||
|
@ -115,7 +115,6 @@ XPCWrappedNativeScope::XPCWrappedNativeScope(XPCCallContext& ccx,
|
||||
mPrototypeJSObject(nullptr),
|
||||
mPrototypeNoHelper(nullptr),
|
||||
mScriptObjectPrincipal(nullptr),
|
||||
mNewDOMBindingsEnabled(ccx.GetRuntime()->NewDOMBindingsEnabled()),
|
||||
mExperimentalBindingsEnabled(ccx.GetRuntime()->ExperimentalBindingsEnabled())
|
||||
{
|
||||
// add ourselves to the scopes list
|
||||
|
@ -914,11 +914,6 @@ public:
|
||||
|
||||
static void ActivityCallback(void *arg, JSBool active);
|
||||
|
||||
bool NewDOMBindingsEnabled()
|
||||
{
|
||||
return gNewDOMBindingsEnabled;
|
||||
}
|
||||
|
||||
bool ExperimentalBindingsEnabled()
|
||||
{
|
||||
return gExperimentalBindingsEnabled;
|
||||
@ -939,7 +934,6 @@ private:
|
||||
|
||||
void ReleaseIncrementally(nsTArray<nsISupports *> &array);
|
||||
|
||||
static bool gNewDOMBindingsEnabled;
|
||||
static bool gExperimentalBindingsEnabled;
|
||||
|
||||
static const char* mStrings[IDX_TOTAL_COUNT];
|
||||
@ -1748,11 +1742,6 @@ public:
|
||||
}
|
||||
void TraceDOMPrototypes(JSTracer *trc);
|
||||
|
||||
JSBool NewDOMBindingsEnabled()
|
||||
{
|
||||
return mNewDOMBindingsEnabled;
|
||||
}
|
||||
|
||||
JSBool ExperimentalBindingsEnabled()
|
||||
{
|
||||
return mExperimentalBindingsEnabled;
|
||||
@ -1798,7 +1787,6 @@ private:
|
||||
|
||||
nsDataHashtable<nsDepCharHashKey, JSObject*> mCachedDOMPrototypes;
|
||||
|
||||
JSBool mNewDOMBindingsEnabled;
|
||||
JSBool mExperimentalBindingsEnabled;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user