зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1698959: Clean up dead terminatePlugin references r=dthayer
PLUGIN_HANG events are no longer sent so terminatePlugin is unused. Differential Revision: https://phabricator.services.mozilla.com/D113884
This commit is contained in:
Родитель
2284427083
Коммит
27e7bb9383
|
@ -131,15 +131,6 @@ var ProcessHangMonitor = {
|
|||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Terminate the plugin process associated with a hang being reported
|
||||
* for the selected browser in |win|. Will attempt to generate a combined
|
||||
* crash report for all processes.
|
||||
*/
|
||||
terminatePlugin(win) {
|
||||
this.handleUserInput(win, report => report.terminatePlugin());
|
||||
},
|
||||
|
||||
/**
|
||||
* Dismiss the browser notification and invoke an appropriate action based on
|
||||
* the hang type.
|
||||
|
@ -155,9 +146,6 @@ var ProcessHangMonitor = {
|
|||
this._recordTelemetryForReport(report, "user-aborted");
|
||||
this.terminateScript(win);
|
||||
break;
|
||||
case report.PLUGIN_HANG:
|
||||
this.terminatePlugin(win);
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -172,10 +160,6 @@ var ProcessHangMonitor = {
|
|||
report.terminateScript();
|
||||
break;
|
||||
}
|
||||
case report.PLUGIN_HANG: {
|
||||
report.terminatePlugin();
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -139,10 +139,6 @@ class GeckoViewProcessHangMonitor extends GeckoViewModule {
|
|||
report.terminateScript();
|
||||
break;
|
||||
}
|
||||
case report.PLUGIN_HANG: {
|
||||
report.terminatePlugin();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче