mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1486568 - forceNewProcess option from BrowserTestUtils should ensure that a cached process is not reused. r=mconley
This commit is contained in:
parent
7624eea8a4
commit
170dde818c
@ -186,6 +186,7 @@ var BrowserTestUtils = {
|
||||
// If DEFAULT_PROCESSSELECTOR_CID is null, we're in non-e10s mode and we
|
||||
// should skip this.
|
||||
if (options.forceNewProcess && DEFAULT_PROCESSSELECTOR_CID) {
|
||||
Services.ppmm.releaseCachedProcesses();
|
||||
registrar.registerFactory(OUR_PROCESSSELECTOR_CID, "",
|
||||
PROCESSSELECTOR_CONTRACTID, null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user