mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043531 - Let frontend deal properly with PluginCrashed without a browser dump id. r=ttaubert
This commit is contained in:
parent
1152e6ea27
commit
9caa9394be
@ -1162,7 +1162,13 @@ var gPluginHandler = {
|
|||||||
let submitReports = true; // XXX followup for .getPropertyAsBool("submitReports");
|
let submitReports = true; // XXX followup for .getPropertyAsBool("submitReports");
|
||||||
let pluginName = propBag.getPropertyAsAString("pluginName");
|
let pluginName = propBag.getPropertyAsAString("pluginName");
|
||||||
let pluginDumpID = propBag.getPropertyAsAString("pluginDumpID");
|
let pluginDumpID = propBag.getPropertyAsAString("pluginDumpID");
|
||||||
let browserDumpID = propBag.getPropertyAsAString("browserDumpID");
|
let browserDumpID = null;
|
||||||
|
|
||||||
|
try {
|
||||||
|
browserDumpID = propBag.getPropertyAsAString("browserDumpID");
|
||||||
|
} catch (e) {
|
||||||
|
// For GMP crashes we don't get a browser dump.
|
||||||
|
}
|
||||||
|
|
||||||
// Remap the plugin name to a more user-presentable form.
|
// Remap the plugin name to a more user-presentable form.
|
||||||
pluginName = this.makeNicePluginName(pluginName);
|
pluginName = this.makeNicePluginName(pluginName);
|
||||||
|
Loading…
Reference in New Issue
Block a user