Bug 1233914 - P1. ping doesn't honor the TP list. r=francois

MozReview-Commit-ID: 9v8Ifkn7jV9
This commit is contained in:
Dimi Lee
2016-03-31 20:24:30 +08:00
parent e561637d9a
commit 68c6bb0bb7

View File

@@ -524,8 +524,9 @@ SendPing(void* aClosure, nsIContent* aContent, nsIURI* aURI,
return;
}
// Don't bother caching the result of this URI load.
chan->SetLoadFlags(nsIRequest::INHIBIT_CACHING);
// Don't bother caching the result of this URI load, but do not exempt
// it from Safe Browsing.
chan->SetLoadFlags(nsIRequest::INHIBIT_CACHING | nsIChannel::LOAD_CLASSIFY_URI);
nsCOMPtr<nsIHttpChannel> httpChan = do_QueryInterface(chan);
if (!httpChan) {