mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Rename window.options to be window._options, quick and dirty restoration of backward compatibility (37886, r=jst, a=vidur).
This commit is contained in:
parent
c79f274537
commit
b8a0b3b798
@ -1243,7 +1243,7 @@ nsJSContext::InitClasses()
|
||||
|
||||
// Initialize the options object and set default options in mContext
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
JSObject *optionsObj = ::JS_DefineObject(mContext, globalObj, "options",
|
||||
JSObject *optionsObj = ::JS_DefineObject(mContext, globalObj, "_options",
|
||||
&OptionsClass, nsnull, 0);
|
||||
if (optionsObj &&
|
||||
::JS_DefineProperties(mContext, optionsObj, OptionsProperties)) {
|
||||
|
Loading…
Reference in New Issue
Block a user