Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini c93bd63729 Bug 1532734 - Rename Cryptomining to CryptominingProtection, r=dimi
Depends on D22144

Differential Revision: https://phabricator.services.mozilla.com/D22145

--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureCryptomining.cpp => netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureCryptomining.h => netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.h
extra : moz-landing-system : lando
2019-03-05 19:11:06 +00:00
Andrea Marchesini 45fe87a8dc Bug 1532734 - Rename Fingerprinting to FingerprintingProtection, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22144

--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureFingerprinting.cpp => netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureFingerprinting.h => netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.h
extra : moz-landing-system : lando
2019-03-05 19:10:43 +00:00
dlee 49b5e37cc4 Bug 1529728 - P1. Move the TopWindowURI check out of the UC_LOG_ENABLED check. r=baku
The TopWindowURI is necessary for UrlClassifierCommon::ShouldEnableClassifier.
It shouldn't be in the UC_LOG_ENABLED block.

Differential Revision: https://phabricator.services.mozilla.com/D21780

--HG--
extra : moz-landing-system : lando
2019-03-04 07:12:19 +00:00
Ryan Hunt 3c3b5fab3d Bug 1523969 part 19 - Move method definition inline comments to new line in 'netwerk/'. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D21120

--HG--
extra : rebase_source : e16845aa3669ed7b5bf9da57cdd08636e5b4500c
2019-02-25 16:11:11 -06:00
Ehsan Akhgari 8a0d0f80e0 Bug 1525458 - Part 1: Only emit the loaded events for various content blocking categories in the presence of an allow-list entry for the top-level document when content would have been blocked otherwise; r=baku,dimi
Previously the code here used to emit the loaded events for every
resource examined by the URL Classifier Features (in other words, every
third party resource).  But we only need to emit the events in cases
where without the presence of the allow-list we would have blocked the
content.

Differential Revision: https://phabricator.services.mozilla.com/D20874
2019-02-28 17:10:16 -05:00
Christoph Kerschbaumer 54df1cb98c Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
Andrea Marchesini c607e645dc Bug 1528596 - Devirtualize accesses to nsUrlClassifierUtils, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D20086

--HG--
extra : moz-landing-system : lando
2019-02-19 14:35:57 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Andrea Marchesini 94c935a73f Bug 1524262 - URL-Classifier should not check all the blacklist tables always, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D18218

--HG--
extra : moz-landing-system : lando
2019-01-31 15:15:03 +00:00
Andrea Marchesini 506304e224 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini 5a909353eb Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Andrea Marchesini e9ac7d9ef2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 5 - generalize content blocking notification, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17838
2019-01-28 16:44:38 +01:00
Andrea Marchesini bf8c0e40e2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 4 - abstract blocking state codes, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17639
2019-01-28 16:43:15 +01:00
Andrea Marchesini ef89767387 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 3 - Canceling nsIChannel with error code, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17638
2019-01-25 14:50:26 +01:00
Andrea Marchesini 43a5f36077 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Kris Maglione b83df4e952 Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15039

--HG--
extra : rebase_source : 1683d6ced9a6c10e6fa19425debbb51950b9b629
extra : source : d94039b199437180309264cb4c206ae7ebb7d21d
2018-12-16 16:03:00 -08:00
Andrea Marchesini 79ddbe6541 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00
Andrea Marchesini c48bfd063c Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 2 - factory updated, r=dimi 2019-01-29 10:11:33 +01:00
Andrea Marchesini 2e4e28b9e5 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 1 - feature no channel, r=dimi 2019-01-29 10:11:33 +01:00
arthur.iakab 652cde9859 Backed out 4 changesets (bug 1522265) for mochitest assertion failures on extensions/cookie/nsPermissionManager.cpp CLOSED TREE
Backed out changeset 38b4179568c7 (bug 1522265)
Backed out changeset 38b824df9d02 (bug 1522265)
Backed out changeset 6085d51681f8 (bug 1522265)
Backed out changeset e6a0832f3b11 (bug 1522265)
2019-01-29 14:25:00 +02:00
Andrea Marchesini 901d0ea1b6 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00
Andrea Marchesini 19c65633d3 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 2 - factory updated, r=dimi 2019-01-29 10:11:33 +01:00
Andrea Marchesini f43141ec0a Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 1 - feature no channel, r=dimi 2019-01-29 10:11:33 +01:00
arthur.iakab c1fae83952 Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione d20f7f8e72 Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15039

--HG--
extra : rebase_source : 55c387662960d82986a2a0205d3b8e451304db4b
extra : absorb_source : bd201f3bcf08f70480f19a22bfb7a8bd9cb015a1
extra : histedit_source : ec13a9b248801ab36baa275e566765734e6f3717
2018-12-16 16:03:00 -08:00
Andrea Marchesini 3ac22c62d4 Bug 1523274 - Flash URL-Classifier feature optimization, r=dimi 2019-01-28 21:48:09 +01:00
Ehsan Akhgari 0b5c4e6d1a Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17742
2019-01-28 14:45:49 -05:00
Ciure Andrei cd0990c959 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-23 20:53:05 +02:00
Ehsan Akhgari 9efcce8bbb Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
Differential Revision: https://phabricator.services.mozilla.com/D14832

--HG--
extra : moz-landing-system : lando
2019-01-23 14:55:49 +00:00
Andrea Marchesini 5018c31d19 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Coroiu Cristina 8aa7253505 Backed out changeset e310a6576d51 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL 2019-01-23 13:43:15 +02:00
Andrea Marchesini fe0182eac3 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Csoregi Natalia ffee6dccf3 Backed out changeset fef99cfead16 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL. CLOSED TREE
--HG--
extra : rebase_source : 19bce71d4915c5925648e8a1ae7022dc46d17b78
2019-01-23 02:08:39 +02:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Andrea Marchesini 98de6694fc Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Dimi Lee 632a821b8a Bug 1501458 - Remove unused tracking protection code from nsUrlClassifierDBService. r=baku
No one is using the aUseTrackingProtection parameter and also tracking
protection related preference in Classify API. And we shouldn't use it
that way in the future.

Differential Revision: https://phabricator.services.mozilla.com/D16798

--HG--
extra : moz-landing-system : lando
2019-01-17 21:24:43 +00:00
Andrea Marchesini 10799b6b03 Bug 1513300 - Implement Cryptomining URL-Classifier, r=dimi 2019-01-09 12:16:04 +01:00
Andrea Marchesini 0c34bd1c34 Bug 1513298 - Fingerprinting url-classifier feature, r=dimi 2019-01-09 12:16:04 +01:00
Noemi Erli ac42324894 Backed out changeset 76f3be6b25e1 (bug 1513298) for ES lint failure in test_fingerprinting.html CLOSED TREE 2019-01-09 12:15:44 +02:00
Andrea Marchesini f10ced4f9d Bug 1513298 - Fingerprinting url-classifier feature, r=dimi 2019-01-08 23:05:41 +01:00
Andrea Marchesini d4de202543 Bug 1517308 - Add a search field in about:url-classifier - part 1 - nsIUrlClassifier.getFeatureNames(), r=dimi 2019-01-08 23:05:40 +01:00
Andrea Marchesini 4712d40e55 Bug 1514697 - Lazy loading for URL-Classifier features, r=dimi 2019-01-05 09:11:06 +01:00
Andrea Marchesini 1aada62615 Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi 2019-01-05 09:10:56 +01:00
Andrea Marchesini 7872e64c7c Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi 2019-01-05 09:10:45 +01:00
Andrea Marchesini 647b040b0f Bug Bug 1515272 - Get rid of nsIURIClassifier.classifyLocal(), r=dimi, r=froydnj 2019-01-04 14:46:30 +01:00
Andrea Marchesini e34612e16e Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin 2019-01-04 14:45:42 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Andrea Marchesini ce48e4ca2d Bug 1514441 - AsyncUrlChannelClassifier must keep a reference to the channel callback, r=dimi 2018-12-16 10:22:43 +01:00
Andrea Marchesini b6a922c797 Bug 1514133 - Port Login-Reputation classification to nsIUrlClassifierFeature, r=dimi 2018-12-15 09:54:02 +01:00
Andrea Marchesini 6b9fe3a6cf Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi 2018-12-14 12:40:17 +01:00