Commit graph

731 commits

Author SHA1 Message Date
dimi
ddfd9eff0b Bug 1262406 - P2. Classify track element testcase. r=francois
MozReview-Commit-ID: 1DnTKOYcfDy

--HG--
extra : transplant_source : %13%86%D2%B0%99%26%2BFP2%E6dMQ9%9D%9D%DE%D9%9B
2016-05-09 09:33:41 +08:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Yoshi Huang
6651828e8c Bug 1077874 - Only expose Major version of Firefox in SafeBrowsing. r=francois 2016-05-03 17:31:25 +08:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Henry Chang
33e58f1836 Bug 1264517 - Replace sensitive info from debugging message. r=gcp. 2016-04-29 13:53:31 +08:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
dimi
91ef48fd06 Bug 1264169 - P2. Refine classifierHelper chunk format. r=francois
MozReview-Commit-ID: WBexu4sO8R

--HG--
extra : transplant_source : %0C%26%CE%40K%3E%03%D7%9C%A4%FCvE%1C%20%80%16%DB%06%89
2016-04-25 10:13:15 +08:00
dimi
a80e0e9641 Bug 1264169 - P1. test_classifier.html doesn't remove url added to malware database when finish. r=francois
MozReview-Commit-ID: 5iuMuVk5f8d

--HG--
extra : transplant_source : .X%96Ph%06%05%DD%17uP%3A%F1%B5%2A%D0Y%9B%83%18
2016-04-22 17:25:40 +08:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Cykesiopka
d0633097bc Bug 1247798 - Make nsUrlClassifierDBService::Init() register pref observers only in the success case. r=gcp
These observers should only be added when everything else has succeeded.
Failing to do so can cause long shutdown hangs in certain situations such as during periodic HSTS update runs.

MozReview-Commit-ID: IoJ4PscS1u3

--HG--
extra : transplant_source : %28%A8%D6l%FF%BB%F7%B90%F8%AC%D0P%2A%14K%0B%16%18W
2016-04-03 00:58:43 -07:00
Dimi Lee
9c4398499b Bug 1172688 - Add telemetry for when gethash calls timeout. r=francois, r=bsmedberg
MozReview-Commit-ID: 8GZmlhgWhmy

--HG--
extra : transplant_source : %F6%D2%9F%7B%A0%0D%F0%B8%8C%89%90%D1X%1E%AD%C5%D7%0B%07%7F
2016-04-06 11:35:26 +08:00
Dimi Lee
32b8258d5d Bug 1233914 - P2. Testcase. r=francois
MozReview-Commit-ID: 4Z3OKDY5aYI

--HG--
extra : transplant_source : %5B%00%94%FDW%3Dn%80V%90N8%0D%5E%BB%B1%BBA%00E
2016-04-01 09:41:11 +08:00
dimi
dffd52add2 Bug 1212600 - No upper limit on digest256 list file size. r=francois
MozReview-Commit-ID: b1aQbF92as

--HG--
extra : transplant_source : x%C3c%95%F4y%3E%F4%D8%1C%05.%0D%C8%DD%03%02%3A%B7%C8
2016-03-28 15:10:03 +08:00
Wes Kocher
7b9ea8afc5 Merge inbound to central, a=merge
MozReview-Commit-ID: FSnrOgtIFer
2016-03-31 13:04:19 -07:00
dimi
a90abcb1f6 Bug 1246301 - Incorrectly parsed value for update interval in shavar response. r=francois
MozReview-Commit-ID: Ks84KmA5uKJ

--HG--
extra : transplant_source : %80%9C%91%DE%F6%CEHa%28%22%B6%1A%0C%BA%B50%97%9Dy%CE
2016-03-25 09:50:44 +08:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
sajitk
2ed26c8df4 Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in toolkit subdirectory.r=erahm 2016-01-28 10:37:00 -08:00
Francois Marier
5f9205dae9 Bug 1164518 - Avoid unnecessary DB updates when caching Safe Browsing results. r=gcp
MozReview-Commit-ID: HYNaTdCRohL

--HG--
extra : rebase_source : 681b33066b21719296c9d33f8d71a72335513188
2016-03-04 12:33:20 -08:00
Francois Marier
5e966c74d9 Bug 1164518 - Minor optimizations for Safe Browsing completions. r=gcp
- added an early exit to skip table string comparisons on a 204
- removed an unnecessary NS_WARNING on gethash errors (e.g. 503s)
- do the noise check first since it's the majority of completions

MozReview-Commit-ID: Lqae5DbUrs8

--HG--
extra : rebase_source : c3d86dbe502039ccb1a44fc29df479b29dcf2934
2016-03-02 14:55:44 -08:00
Francois Marier
5306fd5619 Bug 1164518 - Better logging of completions. r=gcp
MozReview-Commit-ID: JqhDC9GzB8l

--HG--
extra : rebase_source : c174046a80d128053adbcc9ca498a14c1f381ca0
2016-03-02 14:54:59 -08:00
Martijn Wargers
5c4ab36d15 Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher
--HG--
extra : rebase_source : 7b61270760aa225f8c087ea190aaeb49670ca900
2016-03-03 09:41:14 -05:00
Carsten "Tomcat" Book
82cf3c3383 merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Panos Astithas
aaafa9863d Bug 1252449 - Enable test_classifier.html and test_classifier_worker.html on e10s. r=gcp
MozReview-Commit-ID: AxKMYI7nDkD
2016-03-02 15:33:55 +02:00
Bogdan Postelnicu
817d22018d Bug 1250439 - preven memory leak in Classifier::GetLookupCache. r=gcp
MozReview-Commit-ID: BlROMq9gFzj

--HG--
extra : rebase_source : eae5d0fd7a6188b787063a255b878488472fdefd
2016-02-24 13:34:10 +02:00
Phil Ringnalda
a6d7a8a0ce Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Gijs Kruitbosch
8657691921 Bug 1244259 - wait for SafeBrowsing to have added MozEntries in initial runs of talos perf testing, r=jmaher,gcp
MozReview-Commit-ID: Dvs5RQyhfpy

--HG--
extra : rebase_source : 71ddcd4a67dc803b757549801902a20f3739106c
2016-02-12 08:47:31 +00:00
Aidin Gharibnavaz
686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Gian-Carlo Pascutto
effecd5ec1 Bug 1150921 - Add telemetry for response codes to SafeBrowsing requests. r=francois f=bsmedberg 2016-02-10 17:59:40 +01:00
Nicholas Nethercote
c0d9bd0923 Bug 1205358 - Fix up nsUrlClassifierPrefixSet memory reporting. r=gcp.
This patch reverts the "measure-in-advance" approach added in part 1 of bug
1050108 -- because that doesn't interact well with DMD -- and adds locking to
avoid races between the url-classifier thread and the main thread.

--HG--
extra : rebase_source : 8c5fdb2627376787a65b192b7c566fdde112a926
2016-02-10 08:30:48 +11:00
Gian-Carlo Pascutto
39c3995d68 Bug 1247615 - Fix off-by-one error in PrefixSet Delta storage compaction. r=froydnj 2016-02-12 17:09:58 +01:00
Gian-Carlo Pascutto
adba0b4d7c Bug 1244259 - Limit PrefixSet read and write buffer sizes to file size. r=froydnj 2016-02-12 08:54:12 +01:00
Carsten "Tomcat" Book
5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Wes Kocher
e060c6dced Backed out changeset 24af6caa9bba (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
--HG--
extra : commitid : ETz5wi5nzdH
2016-01-29 10:15:30 -08:00
sajitk
aff6f586b9 Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in toolkit subdirectory. r=erahm
--HG--
extra : rebase_source : 71c02b7294a95ecba7876b0372a0dee0ea05b4ed
2016-01-28 10:37:00 -05:00
Christoph Kerschbaumer
eb33d87f83 Bug 1239913 - Convert toolkit/ to use asyncOpen2 where loadingPrincipal is SystemPrincipal (r=sicking) 2016-01-20 12:42:09 -08:00
David Rajchenbach-Teller
583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Mike Hommey
6032f465cb Bug 1240660 - Remove "+" prefixes in jar manifests. r=gps
Now that the faster make backend is enabled by default avoiding
cross-jar.mn file conflicts, and now that individual files can't
overlap with wildcards in the same jar.mn files, which were two
main things that the "+" prefix was used for (apart from
cargo-culting), the "+" prefixes in the tree are not necessary
anymore.
2016-01-20 07:24:40 +09:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Nigel Babu
be124f0c87 Backed out changeset 740b66ce102b (bug 1239913) for mochitest bustage
--HG--
extra : commitid : BtrgWwDqBJe
2016-01-15 13:31:40 +05:30
Christoph Kerschbaumer
324bf331cc Bug 1239913 - Convert toolkit/ to use asyncOpen2 where loadingPrincipal is SystemPrincipal (r=sicking) 2016-01-14 21:01:56 -08:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Gian-Carlo Pascutto
2652d00be1 Bug 1211090 - Don't fail to open databases if we can't do buffered IO. r=froydnj 2015-12-21 17:51:03 +01:00
Gian-Carlo Pascutto
73ac6a6ca3 Bug 1211090 - Add fallocate support to nsIOutputFileStream and use it. r=froydnj 2015-12-21 17:50:53 +01:00
Gian-Carlo Pascutto
e82778f026 Bug 1211090 - Use Buffered IO for PrefixSet load/store. r=froydnj 2015-12-21 17:50:46 +01:00
Francois Marier
d63cc41a00 Bug 1231557 - Use the URL Classifier in Media elements. r=cpearce,r=gcp
--HG--
rename : dom/media/test/vp9.webm => toolkit/components/url-classifier/tests/mochitest/vp9.webm
2015-12-16 13:24:40 -08:00
Francois Marier
04bf0e5958 Bug 1212649 - Put an upper limit on Safe Browsing polling interval. r=gcp 2015-12-03 17:09:46 -08:00