From b8a0b3b7981de12d23f480da89a17293b243cdd7 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Sat, 14 Oct 2000 02:26:36 +0000 Subject: [PATCH] Rename window.options to be window._options, quick and dirty restoration of backward compatibility (37886, r=jst, a=vidur). --- dom/src/base/nsJSEnvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/src/base/nsJSEnvironment.cpp b/dom/src/base/nsJSEnvironment.cpp index c3622f2bdb30..90e46cf03ffd 100644 --- a/dom/src/base/nsJSEnvironment.cpp +++ b/dom/src/base/nsJSEnvironment.cpp @@ -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)) {