Closed Bug 1470254 Opened 5 years ago Closed 5 years ago
don't send push events to child process when service workers is in parent-process mode
Currently we always try to send push events to a content process to dispatch to SWM. With the e10s pref flipped, though, we want to just tell the parent process SWM about the push event instead.
Comment on attachment 8986853 [details] [diff] [review] Don't send push events to child process when e10s pref is flipped. r=mrbkap Blake, this patch simply avoids sending a message to the child process before calling ServiceWorkerManager::SendPushEvent(). When the e10s pref is flipped we want to just call this in the parent process directly.
Attachment #8986853 - Flags: review?(mrbkap)
Attachment #8986853 - Flags: review?(mrbkap) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/4ce6cfe17939 Don't send push events to child process when e10s pref is flipped. r=mrbkap
You need to log in before you can comment on or make changes to this bug.