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
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Kris Maglione
b6dbfe3484
Bug 1478124: Follow-up: Fix merge conflict. r=bustage CLOSED TREE
...
--HG--
extra : amend_source : f6056083a3293ab72889347af86608dcea93118e
2019-01-29 13:13:00 -08: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
d7b093d355
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 5 - Fix a method name call, r=me CLOSED TREE
2019-01-29 15:21:43 +01: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
4e02fc2bf6
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi
2019-01-29 10:11:34 +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
0b9a1617c2
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi
2019-01-29 10:11:34 +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
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
Andrea Marchesini
98de6694fc
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Sylvestre Ledru
755a1a7c2f
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D17063
--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Margareta Eliza Balazs
9dda825205
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
06c3d29113
Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
...
Summary: # ignore-this-changeset
Reviewers: sylvestre
Reviewed By: sylvestre
Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya
Bug #: 1521000
Differential Revision: https://phabricator.services.mozilla.com/D16936
--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +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
91431779d9
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 12:30:27 +01:00
Brindusan Cristian
f9b94dc137
Backed out changeset cf370ec3969a (bug 1516133) for mochitest assertion failures. CLOSED TREE
2019-01-17 12:51:13 +02:00
Andrea Marchesini
b944a79f8a
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Andrea Marchesini
2f54dc921b
Bug 1520519 - Cleanup nsUrlClassifierDBService::Lookup method, r=dimi
2019-01-16 22:49:26 +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
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
Andrea Marchesini
49626a83f6
Bug 1511436 - Cleanup URL-Classifier code - part 4 - lookup optimization, r=dimi
2018-12-14 12:40:18 +01:00
Andrea Marchesini
6b9fe3a6cf
Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
71b120ca17
Bug 1511436 - Cleanup URL-Classifier code - part 2 - nsUrlClassifierDBService::AsyncClassifyLocalWithFeatures, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
69926deea6
Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi
...
--HG--
rename : netwerk/base/nsChannelClassifier.cpp => netwerk/url-classifier/nsChannelClassifier.cpp
rename : netwerk/base/nsChannelClassifier.h => netwerk/url-classifier/nsChannelClassifier.h
rename : netwerk/base/nsIURIClassifier.idl => netwerk/url-classifier/nsIURIClassifier.idl
2018-12-14 12:40:16 +01:00
Sylvestre Ledru
ad75e912fb
Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14060
--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Andrea Marchesini
c5f4a7aed6
Bug 1505931 - URL-Classifier should consider all the prefs, r=francois
2018-12-01 13:04:20 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
matthias
c19ec96962
Bug 1462499 - changed priority of harmful. r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D6570
--HG--
extra : moz-landing-system : lando
2018-09-24 15:51:50 +00:00
Andrea Marchesini
c80c929412
Bug 1476967 - Allow the adding of tracking-protection entries via prefs, r=francois
2018-08-27 21:01:14 +02:00
Francois Marier
9f161ab08f
Bug 1461515 - Split tracking annotations from tracking protection. r=dimi
...
This makes it possible to use different lists for tracking protection
and for the features that rely on tracking annotations.
Differential Revision: https://phabricator.services.mozilla.com/D2484
--HG--
extra : moz-landing-system : lando
2018-08-01 20:45:41 +00:00
dlee
6f76698fc0
Bug 1469412 - Convert nsIUrlClassifierCacheInfo* objects to smart pointers. r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D2048
--HG--
extra : moz-landing-system : lando
2018-07-10 17:12:42 +00:00
Kris Maglione
17578086c0
Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
...
MozReview-Commit-ID: EMCgMRTDqDn
--HG--
extra : rebase_source : 11731e5a7c53c725396a9c8b46f116071d0c6e31
2018-07-04 14:52:48 -07:00
Francois Marier
e33ff43117
Bug 1467581 - Replace all nsAutoPtrs with UniquePtrs in Safe Browsing code. r=gcp
...
This should not change anything since we were using nsAutoPtrs properly,
but we may as well clean this up given the recent move to smart pointers
for everything.
MozReview-Commit-ID: FWS54SYNiBm
--HG--
extra : rebase_source : ade51b42049782e62f661c84b6d701f9ec33cc77
2018-06-18 13:54:59 -07:00
Francois Marier
79f1e9e5a8
Bug 1467581 - Remove the use of default captures in closures. r=gcp
...
Explicitly specify the arguments to copy to avoid making a copy of
a dangling `this` pointer.
Convert nsUrlClassifierDBService::mClassifier to a RefPtr since
the update closure might need to continue to access its members
after it's been released by the main thread.
MozReview-Commit-ID: CPio3n9MmsK
--HG--
extra : rebase_source : d7a8b207336209ee37441f3429bc608140e404ae
2018-06-07 17:22:32 -07:00
Francois Marier
e0fce2a920
Bug 1434206 - Keep LookupResult objects in smart pointers. r=gcp
...
Replace raw pointers to LookupResult with RefPtrs and eplace the
nsAutoPtr objects + raw pointers params with UniquePtrs.
Also remove unnecessarily paranoid OOM checks when creating single
LookupResult objects since those are pretty small.
MozReview-Commit-ID: G85RNnAat6H
--HG--
extra : rebase_source : a8f6a1ff1e24663d428c8d894cb624e1c67e1bd3
2018-06-05 13:15:03 -07:00
Francois Marier
8795e4c222
Bug 1434206 - Keep CacheResult objects in smart pointers. r=gcp
...
Some of the objects were kept in UniquePtr and nsAutoPtr but that
seemed unnecessary complexity given that we can simply use RefPtr
everywhere.
It's also possible to make all of the CacheResult arrays const
since we don't ever modify the elements once they are added.
MozReview-Commit-ID: 5OlcbkQLrGb
--HG--
extra : rebase_source : d58963443d97296236056c69881846f8e67ee3e9
2018-06-01 15:49:14 -07:00
Francois Marier
cde64ec41a
Bug 1434206 - Add const to functions and members that can take it. r=gcp
...
MozReview-Commit-ID: D8IQoLZkFaA
--HG--
extra : rebase_source : 107a936dc4bfd000b84cecdabc017723cd920420
2018-05-16 15:39:33 -07:00
Francois Marier
84e344038a
Bug 1434206 - Replace a pointer with a reference. r=gcp
...
This will prevent our holding on to this pointer incorrectly in the
future.
MozReview-Commit-ID: H8ueIOK1qAK
--HG--
extra : rebase_source : 937e9c702c5109b6dfc1684392a1204d8a1edc49
2018-05-15 17:18:18 -07:00
Francois Marier
8b98277f9f
Bug 1434206 - Make TableUpdate objects const as much as possible. r=gcp
...
I tried to make TableUpdateArray point to const TableUpdate objects
everywhere but there were two problems:
- HashStore::ApplyUpdate() triggers a few Merge() calls which include
sorting the underlying TableUpdate object first.
- LookupCacheV4::ApplyUpdate() calls TableUpdateV4::NewChecksum() when the
checksum is missing and that sets mChecksum.
MozReview-Commit-ID: LIhJcoxo7e7
--HG--
extra : rebase_source : f6ca4bf42d1ddb897a974a0b19c7185b0b6b93af
2018-05-11 16:02:37 -07:00
Francois Marier
214074e8d4
Bug 1434206 - Keep TableUpdate objects in smart pointers. r=gcp
...
Manually keeping tabs on the lifetime of these objects is a pain
and is the likely source of some of our crashes. I suspect we might
also be leaking memory.
This change creates an explicit copy of the main array into the
update thread to avoid using a non-thread-safe shared data
structure. This is a shallow copy. Only the pointers to the
TableUpdates are copied, which means one pointer per list (e.g. 5
in total for google4 in a new profile).
MozReview-Commit-ID: 221d6GkKt0M
--HG--
extra : rebase_source : e1b81f11bb9b41e465571a95845079f455b5868e
2018-06-01 15:48:48 -07:00