Bug 1277067 - Remove nsIAsyncShutdown.contentChildShutdown. r=Yoric

This commit is contained in:
Andrew McCreight 2016-06-01 15:05:54 -07:00
parent d6a6610b75
commit 305c7e214e
2 changed files with 5 additions and 7 deletions

View File

@ -1030,10 +1030,8 @@ if (!isContent) {
this.AsyncShutdown.quitApplicationGranted = getPhase("quit-application-granted");
}
// Content process
if (isContent) {
this.AsyncShutdown.contentChildShutdown = getPhase("content-child-shutdown");
}
// Don't add a barrier for content-child-shutdown because this
// makes it easier to cause shutdown hangs.
// All processes
this.AsyncShutdown.webWorkersShutdown = getPhase("web-workers-shutdown");

View File

@ -197,9 +197,6 @@ interface nsIAsyncShutdownService: nsISupports {
*/
readonly attribute nsIAsyncShutdownClient sendTelemetry;
// Barriers for global shutdown stages in the content processes.
readonly attribute nsIAsyncShutdownClient contentChildShutdown;
// Barriers for global shutdown stages in all processes.
@ -213,6 +210,9 @@ interface nsIAsyncShutdownService: nsISupports {
*/
readonly attribute nsIAsyncShutdownClient xpcomWillShutdown;
// Don't add a barrier for content-child-shutdown because this
// makes it easier to cause shutdown hangs.
/**
* Barrier for notification xpcom-threads-shutdown.
*/