Commit Graph

7 Commits

Author SHA1 Message Date
Francois Marier
94a2cb360d Bug 1434741 - Only check final download URL against the application reputation whitelist. r=gcp
MozReview-Commit-ID: QCaStgteko
2018-02-05 18:11:56 -08:00
Francois Marier
af935283b1 Bug 1435435 - Add new binary extensions to download protection. r=gcp
Sync up with the Chrome list and add new BitTorrent, Visio and HTML-like
file extensions.

https://cs.chromium.org/chromium/src/chrome/browser/resources/safe_browsing/download_file_types.asciipb

MozReview-Commit-ID: Alh2hrOZy1h
2018-02-02 16:09:48 -08:00
Kris Maglione
edc98f08f3 Bug 1412726: Clean up XPCOM singleton constructor refcount handling. r=froydnj
This is a follow-up to bug 1409249. There are a lot of places where our
factory singleton constructors either don't correctly handle their returned
references being released by the component manager, or do handle it, but in
ways that are not obvious.

This patch handles a few places where we can sometimes wind up with dangling
singleton pointers, adds some explanatory comments and sanity check
assertions, and replaces some uses of manual refcounting with StaticRefPtr and
ClearOnShutdown.

There are still some places where we may wind up with odd behavior if the
first QI for a getService call fails. In those cases, we wind up destroying
the first instance of a service that we create, and re-creating a new one
later.

MozReview-Commit-ID: ANYndvd7aZx
2017-10-29 16:02:40 -07:00
Sylvestre Ledru
f4df36cf34 Bug 1424867 - Fix some ignored-qualifiers warnings in url-classifier & reputationservice r=francois
MozReview-Commit-ID: 9lLifMbNlnO
2017-12-12 08:10:59 -06:00
DimiL
2e92fef582 Bug 1384753 - Move Application Reputation files into a new component. r=francois 2017-10-23 16:18:52 +08:00
Sebastian Hengst
b963414666 Backed out 2 changesets (bug 1384753) for frequently failing toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_saveAs.html on Android. r=backout on a CLOSED TREE
Backed out changeset 2f0da700e651 (bug 1384753)
Backed out changeset 9801aade9511 (bug 1384753)
2017-10-27 18:36:30 +02:00
DimiL
7fca0df8c3 Bug 1384753 - Move Application Reputation files into a new component. r=francois
MozReview-Commit-ID: Ehi9IziJyXB
2017-10-23 16:18:52 +08:00