The web shell window sets the outermost webshell's type to be chrome.
git-svn-id: svn://10.0.0.236/trunk@27832 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -260,6 +260,9 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent,
|
||||
mWebShell->SetObserver((nsIStreamObserver*)anObserver);
|
||||
mWebShell->SetDocLoaderObserver(this);
|
||||
|
||||
// The outermost web shell is always considered to be chrome.
|
||||
mWebShell->SetWebShellType(nsWebShellChrome);
|
||||
|
||||
/*
|
||||
* XXX: How should preferences be supplied to the nsWebShellWindow?
|
||||
* Should there be the notion of a global preferences service?
|
||||
|
||||
Reference in New Issue
Block a user