Bug 1296802 - remove LOAD_CLASSIFY_URI flag to prevent telemetry pings from running through the URL Classifier. r=francois

MozReview-Commit-ID: 3xHBa7NnhgQ

--HG--
extra : rebase_source : 61a50f280489e5d8dd6df4e32e454369372d74a4
This commit is contained in:
Thomas Nguyen 2016-10-27 18:16:26 +08:00
Родитель 8cb0ef55ad
Коммит aeaed70b4b
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -907,6 +907,9 @@ var TelemetrySendImpl = {
this._pendingPingRequests.set(id, request);
// Prevent the request channel from running though URLClassifier (bug 1296802)
request.channel.loadFlags &= ~Ci.nsIChannel.LOAD_CLASSIFY_URI;
let startTime = new Date();
let deferred = PromiseUtils.defer();