mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 867829 - Part 3: receive the delete-crash event to delete crash dump when user declined. r=fabrice
This commit is contained in:
parent
be0e9e9c74
commit
5e5747fe19
@ -1103,7 +1103,11 @@ window.addEventListener('ContentStart', function cr_onContentStart() {
|
||||
let content = shell.contentBrowser.contentWindow;
|
||||
content.addEventListener("mozContentEvent", function cr_onMozContentEvent(e) {
|
||||
if (e.detail.type == "submit-crash" && e.detail.crashID) {
|
||||
debugCrashReport("submitting crash at user request ", e.detail.crashID);
|
||||
shell.submitCrash(e.detail.crashID);
|
||||
} else if (e.detail.type == "delete-crash" && e.detail.crashID) {
|
||||
debugCrashReport("deleting crash at user request ", e.detail.crashID);
|
||||
shell.deleteCrash(e.detail.crashID);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user