mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
removed hack forcing app into standard mode (now controlled by documents)
This commit is contained in:
parent
e29c26df10
commit
5d2a518fda
@ -393,13 +393,6 @@ nsresult nsWebShellWindow::Initialize(nsIWebShellWindow* aParent,
|
||||
nsIPref::GetIID(),
|
||||
(nsISupports **)&prefs);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// XXX Enforce the STANDARD compatibility mode? Nav Quirks causes
|
||||
// the chrome to malfunction. Having this be a general pref applied
|
||||
// everywhere seems bogus to me. We certainly don't want it on for
|
||||
// the chrome.
|
||||
prefs->SetIntPref("nglayout.compatibility.mode", eCompatibility_Standard);
|
||||
prefs->SavePrefFile();
|
||||
|
||||
// Set the prefs in the outermost webshell.
|
||||
mWebShell->SetPrefs(prefs);
|
||||
nsServiceManager::ReleaseService(kPrefCID, prefs);
|
||||
@ -1552,6 +1545,7 @@ nsWebShellWindow::NewWebShell(PRUint32 aChromeMask, PRBool aVisible,
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* FindWebShellWithName - recursively search for any open window
|
||||
* containing a webshell with the given name.
|
||||
|
Loading…
Reference in New Issue
Block a user