зеркало из https://github.com/mozilla/gecko-dev.git
bug 1380254: Don't send StackTraces field to Socorro; r=gsvelto
MozReview-Commit-ID: 3K5I5ZQam7q --HG-- extra : rebase_source : 9a089624c8656a136c16f24c3bf9cc002f3f131a
This commit is contained in:
Родитель
139c82f933
Коммит
e2e4c246fa
|
@ -227,7 +227,7 @@ Submitter.prototype = {
|
|||
.createInstance(Ci.nsIDOMFormData);
|
||||
// add the data
|
||||
for (let [name, value] of Object.entries(this.extraKeyVals)) {
|
||||
if (name != "ServerURL") {
|
||||
if (name != "ServerURL" && name != "StackTraces") {
|
||||
formData.append(name, value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -757,8 +757,9 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
string sendURL = queryParameters["ServerURL"];
|
||||
// we don't need to actually send this
|
||||
// we don't need to actually send these
|
||||
queryParameters.erase("ServerURL");
|
||||
queryParameters.erase("StackTraces");
|
||||
|
||||
queryParameters["Throttleable"] = "1";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче