mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Backed out changeset 7dc407aa7123
This commit is contained in:
parent
42be3ca601
commit
e652b11f4e
@ -687,8 +687,8 @@ nsDOMStorage::InitAsLocalStorage(nsIPrincipal *aPrincipal, const nsSubstring &aD
|
||||
if (NS_SUCCEEDED(aPrincipal->GetURI(getter_AddRefs(URI))) && URI) {
|
||||
PRBool isAbout;
|
||||
mCanUseChromePersist =
|
||||
(NS_SUCCEEDED(URI->SchemeIs("moz-safe-about", &isAbout)) && isAbout) ||
|
||||
(NS_SUCCEEDED(URI->SchemeIs("about", &isAbout)) && isAbout);
|
||||
(NS_SUCCEEDED(URI->SchemeIs("moz-safe-about", &isAbout) && isAbout)) ||
|
||||
(NS_SUCCEEDED(URI->SchemeIs("about", &isAbout), && isAbout));
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user