mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1032125: Part 2: Prevent DOM Storage from sending IPC after Nuwa ready. r=khuey
This commit is contained in:
parent
c5cc9fe0f1
commit
fc52a5a754
@ -589,8 +589,15 @@ DOMStorageDBParent::Observe(const char* aTopic,
|
||||
const nsACString& aScopePrefix)
|
||||
{
|
||||
if (mIPCOpen) {
|
||||
mozilla::unused << SendObserve(nsDependentCString(aTopic),
|
||||
nsCString(aScopePrefix));
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (!(static_cast<ContentParent*>(Manager())->IsNuwaProcess() &&
|
||||
ContentParent::IsNuwaReady())) {
|
||||
#endif
|
||||
mozilla::unused << SendObserve(nsDependentCString(aTopic),
|
||||
nsCString(aScopePrefix));
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user