The parent and content processes can have different temp directories when sandboxing is enabled, so the process that creates the file for a heap snapshot must also determine the snapshot ID. MozReview-Commit-ID: 2UuncT54NXc
save heap snapsots into; r=mrbkap