Bug 1108613. Create an XRE_IsParentProcess to detect if code is running in the parent process. r=roc