mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1032125: Part 2: Prevent DOM Storage from sending IPC after Nuwa ready. r=khuey
This commit is contained in:
parent
7eebb623c6
commit
9fa0ad74c2
@ -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