mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791009 part B - fix spelling and logic errors; don't add additional_minidumps to the extra data twice, r=ted
--HG-- extra : rebase_source : 0d46f9a86145092cfe0aac9fd4eee9cc783f94a4
This commit is contained in:
parent
364bffc4a2
commit
04d9897727
@ -216,8 +216,6 @@ Submitter.prototype = {
|
||||
formData.append("upload_file_minidump_"+i.name,
|
||||
File(i.dump.path));
|
||||
}
|
||||
|
||||
formData.append("additional_minidumps", names.join(","));
|
||||
}
|
||||
|
||||
let self = this;
|
||||
@ -275,8 +273,8 @@ Submitter.prototype = {
|
||||
let additionalDumps = [];
|
||||
if ("additional_minidumps" in reportData) {
|
||||
let names = reportData.additional_minidumps.split(',');
|
||||
for (let name in names) {
|
||||
let [dump, extra] = getPendingMiniDump(this.id + "-" + name);
|
||||
for (let name of names) {
|
||||
let [dump, extra] = getPendingMinidump(this.id + "-" + name);
|
||||
if (!dump.exists()) {
|
||||
this.notifyStatus(FAILED);
|
||||
this.cleanup();
|
||||
|
Loading…
Reference in New Issue
Block a user