Commit Graph

705 Commits

Author SHA1 Message Date
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
Gian-Carlo Pascutto
055c8a5585 Bug 1135022 - Add C++ test coverage for UrlClassifier ChunkSets. r=francois 2015-12-02 09:09:01 +01:00
Mike Hommey
9403734fe8 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in toolkit/. r=froydnj 2015-12-02 11:04:37 +09:00
Gian-Carlo Pascutto
125704b36a Bug 1229051 - Reenable C++ unit tests for UrlClassifier by converting to gtest. r=francois
--HG--
rename : toolkit/components/url-classifier/tests/TestUrlClassifierUtils.cpp => toolkit/components/url-classifier/tests/gtest/TestUrlClassifierUtils.cpp
2015-12-01 11:04:25 +01:00
Francois Marier
88fc749776 Bug 1216793 - Add tests for TP in XHRs and fetch(). r=gcp 2015-11-30 16:28:39 -08:00
Francois Marier
34937ffbe4 Bug 1213400 - Fix crash in broken Safe Browsing list updates. r=gcp 2015-11-30 12:44:28 -08:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Francois Marier
f6fd256206 Bug 1216723 - Add tests for the new -forbid- Safe Browsing list type. r=gcp 2015-11-20 20:25:11 -08:00
Francois Marier
67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Gian-Carlo Pascutto
760f31a46e Bug 1100338 - Do not consider noise for Completion matches. Remove dead code. r=francois 2015-07-06 04:24:00 +02:00
Sebastian Hengst
3b20ee2cf4 Bug 1220442 - Check if safe browsing's updateCheckers have already been set to null. r=gcp 2015-11-01 10:16:42 +01:00
Sebastian Hengst
f3b461c82a Backout bug 1220442 for typo in bug number. r=backout 2015-11-01 21:20:17 +01:00
Sebastian Hengst
5e3f00c149 Bug 1220422 - Check if safe browsing's updateCheckers have already been set to null. r=gcp 2015-11-01 10:16:42 +01:00
Dragana Damjanovic
4233416b20 Bug 1175685 - Add special appId for SAFEBROWSING_APP_ID. r=ckerschb 2015-10-21 13:43:00 +02:00
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Francois Marier
3ae91b2ba9 Bug 1215396 - Log Safe Browsing prefixes as they are added to the local database. r=gcp 2015-10-19 14:13:49 -07:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Francois Marier
b029f538a5 Bug 1214448 - Always log nextupdate time in Safe Browsing debugging. r=gcp 2015-10-14 11:35:10 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Gian-Carlo Pascutto
31cf95e1cd Bug 1175562 - Persist last update time for SafeBrowsing. r=francois 2015-10-06 13:53:07 +02:00
Tooru Fujisawa
3f9809017c Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
--HG--
extra : commitid : J57uE7zSSsN
extra : rebase_source : b81cb1977b5beb9abc7cf132cd70648f406eb8ed
2015-09-24 20:36:01 +09:00
Tooru Fujisawa
816c72630a Backed out changeset 55b45f61cfd2 (bug 1207498) for Linux pgo M(oth) failure
--HG--
extra : commitid : 5g4QL4KrAot
2015-09-27 23:42:27 +09:00
Tooru Fujisawa
41ec522633 Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
--HG--
extra : commitid : 1xymr2vWeyn
extra : rebase_source : 286757f28e8e392760d216f1b8bd25925ffe43b7
2015-09-24 20:36:01 +09:00
Kaustabh Datta Choudhury
d64ac7ea6b Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher 2015-09-23 13:39:45 -04:00
Gian-Carlo Pascutto
6051bff6eb Bug 1204367 - Only do SafeBrowsing debug logging when debug is enabled. r=francois 2015-09-17 09:59:26 +02:00