Ehsan Akhgari
6bcfe664eb
Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika
...
This will mean that in places like the tight loop in GetTypeIndex()
we would no longer require calling strlen() on the input type argument
once per loop iteration.
Depends on D20236
Differential Revision: https://phabricator.services.mozilla.com/D20237
2019-02-21 22:54:28 +00:00
Christoph Kerschbaumer
1a72eb2a6b
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
0fd63f6e02
Bug 1528596 - Devirtualize accesses to nsUrlClassifierUtils, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D20086
2019-02-19 14:35:57 +00:00
Jonathan Kingston
58708e007c
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
2019-02-12 16:08:25 +00:00
Kris Maglione
1dad1ad235
Bug 1478124: Follow-up: Fix merge conflict. r=bustage CLOSED TREE
2019-01-29 13:13:00 -08:00
Kris Maglione
4b169665d2
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
2018-12-16 16:03:00 -08:00
Andrea Marchesini
766206546d
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
9acb35ab86
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
2019-01-29 10:11:34 +01:00
Andrea Marchesini
416f469b5c
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
e2d46fcd9f
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
d093c9582c
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
2019-01-29 10:11:34 +01:00
Andrea Marchesini
6ea43382ea
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
127fb281ff
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
3c9b881f84
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
2018-12-16 16:03:00 -08:00
Andrea Marchesini
99ecfbd803
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Coroiu Cristina
0310205bb2
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
86a1985ac9
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Csoregi Natalia
d6589b4873
Backed out changeset fef99cfead16 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL. CLOSED TREE
2019-01-23 02:08:39 +02:00
Andrea Marchesini
b1825fc96e
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Sylvestre Ledru
717842459d
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D17063
2019-01-21 14:49:22 +00:00
Margareta Eliza Balazs
7fe3543679
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
53c197e13a
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
2019-01-18 10:12:56 +01:00
Dimi Lee
4046527798
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
2019-01-17 21:24:43 +00:00
Andrea Marchesini
e7e8e3b087
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 12:30:27 +01:00
Brindusan Cristian
b7950beba6
Backed out changeset cf370ec3969a (bug 1516133) for mochitest assertion failures. CLOSED TREE
2019-01-17 12:51:13 +02:00
Andrea Marchesini
1ea9c8ea98
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Andrea Marchesini
bcbe09b344
Bug 1520519 - Cleanup nsUrlClassifierDBService::Lookup method, r=dimi
2019-01-16 22:49:26 +01:00
Andrea Marchesini
a45e910940
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
518057c967
Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi
2019-01-05 09:10:56 +01:00
Andrea Marchesini
d5625220f1
Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi
2019-01-05 09:10:45 +01:00
Andrea Marchesini
b24a2262ea
Bug Bug 1515272 - Get rid of nsIURIClassifier.classifyLocal(), r=dimi, r=froydnj
2019-01-04 14:46:30 +01:00
Andrea Marchesini
1eb4df4dfe
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
a669db6616
Bug 1511436 - Cleanup URL-Classifier code - part 4 - lookup optimization, r=dimi
2018-12-14 12:40:18 +01:00
Andrea Marchesini
d2ac02202c
Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
e247fa8583
Bug 1511436 - Cleanup URL-Classifier code - part 2 - nsUrlClassifierDBService::AsyncClassifyLocalWithFeatures, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
a5aa66ee92
Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi
2018-12-14 12:40:16 +01:00
Sylvestre Ledru
577bc46708
Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14060
2018-12-10 19:23:16 +00:00
Andrea Marchesini
aa261d7721
Bug 1505931 - URL-Classifier should consider all the prefs, r=francois
2018-12-01 13:04:20 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
matthias
fca9c2fd5e
Bug 1462499 - changed priority of harmful. r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D6570
2018-09-24 15:51:50 +00:00
Andrea Marchesini
de630c2f3d
Bug 1476967 - Allow the adding of tracking-protection entries via prefs, r=francois
2018-08-27 21:01:14 +02:00
Francois Marier
6d9c2d145e
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
2018-08-01 20:45:41 +00:00
dlee
c05217e7e3
Bug 1469412 - Convert nsIUrlClassifierCacheInfo* objects to smart pointers. r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D2048
2018-07-10 17:12:42 +00:00
Kris Maglione
8766ceb571
Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
...
MozReview-Commit-ID: EMCgMRTDqDn
2018-07-04 14:52:48 -07:00
Francois Marier
74fecd1eba
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
2018-06-18 13:54:59 -07:00
Francois Marier
3c7e7d1f0a
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
2018-06-07 17:22:32 -07:00
Francois Marier
910891cfd7
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
2018-06-05 13:15:03 -07:00
Francois Marier
04f2b020d6
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
2018-06-01 15:49:14 -07:00
Francois Marier
2b1135b69b
Bug 1434206 - Add const to functions and members that can take it. r=gcp
...
MozReview-Commit-ID: D8IQoLZkFaA
2018-05-16 15:39:33 -07:00
Francois Marier
470d7a550c
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
2018-05-15 17:18:18 -07:00