Bug 474058 - Drop support for window.directories. r=jst

--HG--
extra : rebase_source : f0ee7974097fcc9db75b2928dae9b58cc3d8859b
This commit is contained in:
Ms2ger@gmail.com 2010-05-19 19:53:08 +02:00
parent ee179078cc
commit 98d48c313e
6 changed files with 1 additions and 17 deletions

View File

@ -1449,7 +1449,6 @@ jsval nsDOMClassInfo::sLocationbar_id = JSVAL_VOID;
jsval nsDOMClassInfo::sPersonalbar_id = JSVAL_VOID;
jsval nsDOMClassInfo::sStatusbar_id = JSVAL_VOID;
jsval nsDOMClassInfo::sDialogArguments_id = JSVAL_VOID;
jsval nsDOMClassInfo::sDirectories_id = JSVAL_VOID;
jsval nsDOMClassInfo::sControllers_id = JSVAL_VOID;
jsval nsDOMClassInfo::sLength_id = JSVAL_VOID;
jsval nsDOMClassInfo::sInnerHeight_id = JSVAL_VOID;
@ -1651,7 +1650,6 @@ nsDOMClassInfo::DefineStaticJSVals(JSContext *cx)
SET_JSVAL_TO_STRING(sPersonalbar_id, cx, "personalbar");
SET_JSVAL_TO_STRING(sStatusbar_id, cx, "statusbar");
SET_JSVAL_TO_STRING(sDialogArguments_id, cx, "dialogArguments");
SET_JSVAL_TO_STRING(sDirectories_id, cx, "directories");
SET_JSVAL_TO_STRING(sControllers_id, cx, "controllers");
SET_JSVAL_TO_STRING(sLength_id, cx, "length");
SET_JSVAL_TO_STRING(sInnerHeight_id, cx, "innerHeight");
@ -4546,7 +4544,6 @@ nsDOMClassInfo::ShutDown()
sPersonalbar_id = JSVAL_VOID;
sStatusbar_id = JSVAL_VOID;
sDialogArguments_id = JSVAL_VOID;
sDirectories_id = JSVAL_VOID;
sControllers_id = JSVAL_VOID;
sLength_id = JSVAL_VOID;
sInnerHeight_id = JSVAL_VOID;

View File

@ -243,7 +243,6 @@ protected:
id == sLocationbar_id ||
id == sPersonalbar_id ||
id == sStatusbar_id ||
id == sDirectories_id ||
id == sControllers_id ||
id == sScrollX_id ||
id == sScrollY_id ||
@ -290,7 +289,6 @@ protected:
static jsval sPersonalbar_id;
static jsval sStatusbar_id;
static jsval sDialogArguments_id;
static jsval sDirectories_id;
static jsval sControllers_id;
static jsval sLength_id;
static jsval sInnerHeight_id;

View File

@ -2961,12 +2961,6 @@ nsGlobalWindow::GetScrollbars(nsIDOMBarProp** aScrollbars)
return NS_OK;
}
NS_IMETHODIMP
nsGlobalWindow::GetDirectories(nsIDOMBarProp** aDirectories)
{
return GetPersonalbar(aDirectories);
}
NS_IMETHODIMP
nsGlobalWindow::GetClosed(PRBool* aClosed)
{

View File

@ -44,7 +44,7 @@ interface nsIControllers;
interface nsIDOMLocation;
interface nsIVariant;
[scriptable, uuid(52d034f1-f1a6-4be7-adc9-b39fa7df51de)]
[scriptable, uuid(de12997f-9f66-4241-b092-d0ed365ad72e)]
interface nsIDOMWindowInternal : nsIDOMWindow2
{
readonly attribute nsIDOMWindowInternal window;
@ -77,8 +77,6 @@ interface nsIDOMWindowInternal : nsIDOMWindow2
/* [replaceable] statusbar */
readonly attribute nsIDOMBarProp statusbar;
/* [replaceable] directories */
readonly attribute nsIDOMBarProp directories;
readonly attribute boolean closed;
readonly attribute nsIDOMCrypto crypto;
readonly attribute nsIDOMPkcs11 pkcs11;

View File

@ -1498,8 +1498,6 @@ PRUint32 nsWindowWatcher::CalculateChromeFlags(const char *aFeatures,
nsIWebBrowserChrome::CHROME_TOOLBAR);
NS_CALCULATE_CHROME_FLAG_FOR("location",
nsIWebBrowserChrome::CHROME_LOCATIONBAR);
NS_CALCULATE_CHROME_FLAG_FOR("directories",
nsIWebBrowserChrome::CHROME_PERSONAL_TOOLBAR);
NS_CALCULATE_CHROME_FLAG_FOR("personalbar",
nsIWebBrowserChrome::CHROME_PERSONAL_TOOLBAR);
NS_CALCULATE_CHROME_FLAG_FOR("status",

View File

@ -523,7 +523,6 @@ pref("dom.disable_window_open_feature.titlebar", false);
pref("dom.disable_window_open_feature.close", false);
pref("dom.disable_window_open_feature.toolbar", false);
pref("dom.disable_window_open_feature.location", false);
pref("dom.disable_window_open_feature.directories", false);
pref("dom.disable_window_open_feature.personalbar", false);
pref("dom.disable_window_open_feature.menubar", false);
pref("dom.disable_window_open_feature.scrollbars", false);