Allow more than one process to be sandboxed from a single sandboxbroker

RESOLVED FIXED in mozilla28

Status

()

defect
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: bbondy, Assigned: bbondy)

Tracking

unspecified
mozilla28
x86_64
Windows 8.1
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Currently only the firsts plugin-container actually succeeds to launch sandboxed. If you try to launch a second one, it won't launch the process.
The broker service is a singleton, so even if there is another instance of broker service being created, it still uses the same underlying singleton.

This was failing because the second Init() call was returning an error and we were bailing early.

This is hit if you kill the first plugin-container instance or a plugin is used.
Attachment #827450 - Flags: review?(aklotz)
Attachment #827450 - Flags: review?(aklotz) → review+
https://hg.mozilla.org/mozilla-central/rev/979b83683ca7
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.