Commit graph

568 commits

Author SHA1 Message Date
Gian-Carlo Pascutto
03e44c9995 Bug 1102687 - Presize the urlclassifier PrefixSet delta array on loading. r=dmajor 2014-11-24 08:38:14 +01:00
Nicholas Nethercote
fd297089e6 Bug 1100219 - Avoid lots of unnecessary string copying in ProtocolParser. r=neil.
--HG--
extra : rebase_source : 7d063de7b5ec312724039c2bf6546758ebc0e2fe
2014-11-18 18:42:43 -08:00
Gian-Carlo Pascutto
c1111db74b Bug 1031160 - Disable HTTP Keepalive for SafeBrowsing. r=rnewman 2014-11-14 12:55:35 -08:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Gian-Carlo Pascutto
115d1f21f7 Bug 1050108 - Remove superfluous member variables in PrefixSet. r=mmc 2014-10-14 13:16:11 +02:00
Gian-Carlo Pascutto
de52254ea1 Bug 1050108 - Avoid race condition during memory report collection. r=njn 2014-10-14 13:15:50 +02:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Gian-Carlo Pascutto
2a58716867 Bug 1074196 - Correctly initialize PrefixSets with no deltas. r=mmc 2014-10-01 09:24:14 +02:00
Phil Ringnalda
6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Carsten "Tomcat" Book
76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Christoph Kerschbaumer
c09813d730 Bug 1038756: Callsites creating a channel in /toolkit/components/url-classifier/ (r=gcp) 2014-09-21 09:42:29 -07:00
Paul Rouget
bfba482515 Backed out changeset a6d02cff43d3 (bug 1037235) for breaking WebIDE (bug 1067331)
--HG--
extra : amend_source : a7bfb1e931122663e7c14a7362a849520388e495
2014-09-15 16:23:04 +02:00
Phil Ringnalda
103f1abf22 Merge m-i to m-c, a=merge 2014-09-13 09:28:33 -07:00
Erik Vold
d3d9b5a320 Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Monica Chew
d9133ed513 Bug 1024555: Cancel gethash requests after 5 seconds if they are still pending 2014-09-08 16:44:08 -07:00
Phil Ringnalda
2c98827aa5 Back out 34a02ee9896c (bug 1024555) for xpcshell bustage
CLOSED TREE
2014-09-11 21:50:39 -07:00
Monica Chew
4e94ee034f Bug 1024555: Cancel gethash requests after 5 seconds if they are still pending 2014-09-08 16:44:08 -07:00
Bobby Holley
86df050cfc Bug 1062631 - Use SpecialPowers.wrapCallback for QI in more tests. r=bz
Otherwise the QI throws as soon as it tries to pass the IID into content code.
2014-09-08 13:36:20 -07:00
Ehsan Akhgari
5bffafdd26 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Steve Workman
320bdaa9db Bug 1054572 - Reload iframe in test_classifier.html to test cache API calls in nsChannelClassifier.cpp r=gcp 2014-08-22 15:17:33 -07:00
Wes Kocher
0b164a61dd Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
a132c51b61 Bug 1054572 - Reload iframe in test_classifier.html to test cache API calls in nsChannelClassifier.cpp r=gcp 2014-08-22 10:49:29 -07:00
Georgios Kontaxis
17142ab846 Bug 1055180: cleanup functions in test_classified_annotations and test_allowlisted_annotations. Making sure the nsChannelClassifier::ShouldEnableTrackingProtection does not abort on chrome URIs. (r=mmc) 2014-08-18 14:58:33 -07:00
Birunthan Mohanathas
770cc01f6a Bug 1049979 - Fix 'functions may be declared only at top level or immediately within another function' warnings. r=gavin 2014-08-10 11:16:32 -07:00
Georgios Kontaxis
eb744ade14 Bug 1044181: test elements are now actually loaded when tracking protection is disabled/broken. added style loader test. r=mmc 2014-08-08 15:17:28 -07:00
Monica Chew
5375d3ad83 Bug 1033871: Check nsIPermissionManager before enabling tracking protection in nsChannelClassifier (r=mcmanus)
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedFrame.html => toolkit/components/url-classifier/tests/mochitest/allowlistAnnotatedFrame.html
rename : toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html => toolkit/components/url-classifier/tests/mochitest/test_allowlisted_annotations.html
2014-08-08 13:52:28 -07:00
Monica Chew
c0ec2a1716 Bug 1045163: Remove delay before updating existing tables on disk (r=gcp) 2014-08-08 13:56:27 -07:00
Gian-Carlo Pascutto
1d882eb352 Bug 1046038 - Replace linear prefix array by array of arrays. r=mmc 2014-08-04 12:12:02 +02:00
Gian-Carlo Pascutto
b9de4a5e1d Bug 1046038 - Make essential arrays for SafeBrowsing infallible. r=mmc 2014-08-04 12:11:51 +02:00
Nathan Froyd
12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Mike Hommey
5f6ba110e6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Monica Chew
3a14448afa Bug 1039012: Only cancel third party channels with NS_ERROR_TRACKING_URI (r=gcp,briansmith) 2014-07-24 10:59:00 -07:00
Monica Chew
8d085107d6 Bug 1041855: Skip gethash completions on startup for hits in existing tables that haven't been registered yet (r=gcp) 2014-07-24 10:58:41 -07:00
Mike Hommey
6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Georgios Kontaxis
3ee3af8b30 Bug 1029887: Test DOM nodes blocked by NS_ERROR_TRACKING_URI (r=mmc) 2014-07-18 17:26:24 -07:00
Monica Chew
66c3390b1c Bug 1036684: Fix safebrowsing updates (r=gcp) 2014-07-10 18:13:35 -07:00
Benoit Jacob
623b521e4b Bug 1035394 - Fix dangerous public destructors in toolkit/components - r=ehsan 2014-07-08 17:23:18 -04:00
Monica Chew
1ce06a3399 Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp) 2014-07-02 12:41:00 -07:00
Monica Chew
8ae5359acd Bug 1032875: Move empty gethash URL check in case listmanager is not ready (r=gcp) 2014-07-01 10:31:31 -07:00
Monica Chew
386ebd5ee3 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Andrew McCreight
c2fbaa1d4a Bug 1024801, part 2 - LookupCache::GetPrefixes should free arr even on failure. r=gcp 2014-06-26 09:29:06 -07:00
Andrew McCreight
4efbac57d6 Bug 1024801, part 1 - Free prefixArray if nsUrlClassifierPrefixSet::GetPrefixes returns an error. r=gcp 2014-06-26 09:29:06 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00