Commit Graph

242 Commits

Author SHA1 Message Date
Kris Maglione
5613873ecb Bug 1255894: Part 2 - Add mozIWebRequestService service for tracking filtered requests. r=mixedpuppy
In order to allow extensions running in a content process to connect extension
filters, we need to be able to track which requests they have permissions to
modify, and which processes they have permissions to modify them from.

This interface allows us to register channels that we've dispatched webRequest
listeners for, and the TabParent (and, by proxy, content parent) we've
dispatched them to. Extensions will only be able to filter those channels, and
only from those processes.

MozReview-Commit-ID: 46HTVeQ5ndi

--HG--
extra : rebase_source : aadfadef3b72044302b3f4e6c88a5a06ff138c84
2017-03-23 12:18:29 -07:00
Nicholas Nethercote
20df43a549 Bug 1382099 - Remove MOZ_WIDGET_GONK from toolkit/. r=glandium.
--HG--
extra : rebase_source : 709744b24104b463c8dc4cbe215d2250e7c1a9f5
2017-07-19 18:38:48 +10:00
Kris Maglione
e51750a9c4 Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.

This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.

It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.

MozReview-Commit-ID: 2MpbmXZGiPZ

--HG--
extra : rebase_source : 8b268618164b45605143e858665e592de829a6fa
2017-06-03 17:12:14 -07:00
Paolo Amadini
93316227a7 Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak
A missing dependency in "nsTypeAheadFind.h" is also fixed to allow the removal of the include files from "nsToolkitCompsModule.cpp".

MozReview-Commit-ID: EefZA9bEUW0

--HG--
extra : rebase_source : 8ddfaf72f2b89c6e906561710045ec677e46da79
2017-05-15 11:55:50 +01:00
Kris Maglione
a5b730ac2f Bug 1358846: Part 4 - Merge various startup information stores into a single JSON file. r=rhelmer,jonco
MozReview-Commit-ID: Bs8xMqzVOcl

--HG--
extra : rebase_source : 38ea250029f1626896ab8c3a062b8e14b80c7947
extra : source : 98b57ff82a5477e3f0c0f880c0a72cc115cdf9af
2017-05-12 09:37:50 -07:00
Iris Hsiao
6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Kris Maglione
273fc8c0fb Bug 1358846: Part 4 - Merge various startup information stores into a single JSON file. r=rhelmer,jonco
MozReview-Commit-ID: Bs8xMqzVOcl

--HG--
extra : rebase_source : fe9eec8d21c0602b079224890a26f797a39c3f28
2017-05-11 16:54:46 -07:00
Shane Caraveo
f6660740ac Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2

--HG--
extra : rebase_source : 0324030e5f7f534256ff0c469bb486dc52e282c2
2017-04-18 15:50:53 -07:00
Joel Maher
bc070be3c8 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Jared Wein
97e69eb233 Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF

--HG--
extra : rebase_source : 564542010fd854c92978defba889b18a73f398f9
2016-08-31 19:28:29 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Marco Bonardo
06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
David Rajchenbach-Teller
7fdebd3973 Bug 1249393 - Getting rid of more Nightly-only gates for about:performance;r=me
MozReview-Commit-ID: BWS1TPoLzYs

--HG--
extra : rebase_source : 9b6fa02da483679b77d837dcfea30452254852c2
2016-02-29 21:58:32 +01:00
David Rajchenbach-Teller
4c829da9f9 Bug 1246277 - Don't forget to register nsPerformanceStatsService on non-Nightly;r=me
MozReview-Commit-ID: EsaLZ8oB9r5

--HG--
extra : rebase_source : 2aa8108ca27cb084e0c49472022c02fee965f605
2016-02-17 23:47:36 +01:00
Kit Cambridge
0d37a8bacb Bug 1227300, Part 1 - Add an alert notification component. r=MattN,wchen
--HG--
extra : commitid : Jd0utRQq7sC
extra : rebase_source : 1ff47988d3e031af5fb7169e2c604b3dbf76c2d8
2015-12-03 08:44:25 -08:00
Kris Maglione
9768c79d20 Bug 1213632: Prevent WebExtensions from using versioned JavaScript. r=billm
--HG--
extra : commitid : 3aQ4wS5I7LP
extra : rebase_source : 252277140f700ab305877f3bfd0ba9b582ff0b7a
2015-10-22 23:25:43 -07:00
David Rajchenbach-Teller
3ff3f77f9e Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
--HG--
extra : transplant_source : %91G%19%1A%B33%A8%2C%F4%D0%D1%A3%E0%20G%86%CE%DF%A5%9D
2015-10-02 23:44:23 +02:00
Carsten "Tomcat" Book
a55a2ef59a Backed out changeset 33afbc6c4997 (bug 1208747) 2015-10-21 11:39:22 +02:00
David Rajchenbach-Teller
625e50b7af Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
--HG--
extra : transplant_source : %AD%3B%3C%98%15/%F1%CD/%FB%D7%F4%88%22%7E%3D7%7B%CB%A0
2015-10-02 23:44:23 +02:00
Gian-Carlo Pascutto
31cf95e1cd Bug 1175562 - Persist last update time for SafeBrowsing. r=francois 2015-10-06 13:53:07 +02:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Eric Rahm
ff74bcf961 Bug 1146580 - Make FinalizationWitnessService listen for xpcom shutdown. r=bholley 2015-06-10 15:12:33 -07:00
David Rajchenbach-Teller
15afd14713 Bug 1153657 - Performance Monitoring is not ready to ride the trains. r=yoric 2015-04-18 14:26:13 +02:00
David Rajchenbach-Teller
b7c5568999 Bug 1152759 - Regroup Performance Monitoring modules/components;r=yoric
--HG--
rename : toolkit/modules/AddonWatcher.jsm => toolkit/components/perfmonitoring/AddonWatcher.jsm
rename : toolkit/modules/PerformanceStats.jsm => toolkit/components/perfmonitoring/PerformanceStats.jsm
rename : toolkit/components/aboutperformance/nsIPerformanceStats.idl => toolkit/components/perfmonitoring/nsIPerformanceStats.idl
rename : toolkit/components/aboutperformance/nsPerformanceStats.cpp => toolkit/components/perfmonitoring/nsPerformanceStats.cpp
rename : toolkit/components/aboutperformance/nsPerformanceStats.h => toolkit/components/perfmonitoring/nsPerformanceStats.h
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
rename : toolkit/modules/tests/browser/browser_Addons_sample.xpi => toolkit/components/perfmonitoring/tests/browser/browser_Addons_sample.xpi
rename : toolkit/components/aboutperformance/tests/browser/browser_compartments.html => toolkit/components/perfmonitoring/tests/browser/browser_compartments.html
rename : toolkit/components/aboutperformance/tests/browser/browser_compartments.js => toolkit/components/perfmonitoring/tests/browser/browser_compartments.js
rename : toolkit/components/aboutperformance/tests/xpcshell/test_compartments.js => toolkit/components/perfmonitoring/tests/xpcshell/test_compartments.js
rename : toolkit/components/aboutperformance/tests/xpcshell/xpcshell.ini => toolkit/components/perfmonitoring/tests/xpcshell/xpcshell.ini
2015-04-14 17:10:04 +02:00
Robert Strong
91cf4cb89f Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop
--HG--
rename : toolkit/mozapps/update/moz.build => toolkit/components/timermanager/moz.build
rename : toolkit/mozapps/update/nsIUpdateTimerManager.idl => toolkit/components/timermanager/nsIUpdateTimerManager.idl
rename : toolkit/mozapps/update/nsUpdateTimerManager.js => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/mozapps/update/nsUpdateTimerManager.manifest => toolkit/components/timermanager/nsUpdateTimerManager.manifest
rename : toolkit/mozapps/update/tests/unit_timermanager/consumerNotifications.js => toolkit/components/timermanager/tests/unit/consumerNotifications.js
rename : toolkit/mozapps/update/tests/unit_timermanager/xpcshell.ini => toolkit/components/timermanager/tests/unit/xpcshell.ini
2015-04-14 17:00:02 -07:00
David Rajchenbach-Teller
b6feb17d3f Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop
--HG--
rename : toolkit/components/aboutcompartments/jar.mn => toolkit/components/aboutperformance/jar.mn
rename : toolkit/components/aboutcompartments/nsCompartmentInfo.h => toolkit/components/aboutperformance/nsPerformanceStats.h
extra : rebase_source : a857d61a49542727fb4a496e785d175620103132
2015-03-31 12:40:59 +02:00
Paolo Amadini
c3952b24ed Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
David Rajchenbach-Teller
3d6212aad5 Bug 1044020 - Don't build the Terminator under B2G. r=yoric 2014-11-10 14:55:02 +01:00
Chris Peterson
74a96a4348 Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Alessio Placitelli
e4bd988256 Bug 992894 - Add a native file watcher component to notify about file/directory changes (Windows). r=Yoric 2014-09-02 06:34:00 -04:00
David Rajchenbach-Teller
eb93e16fa1 Bug 1038342 - Add a Shutdown watchdog. r=froydnj, r=ted, sr=bsmedberg 2014-08-26 14:54:43 +02:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Mike Hommey
622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Monica Chew
386ebd5ee3 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Bill McCloskey
2bf03b15e6 Bug 1017302 - Faster mapping of paths to add-on IDs (r=irving) 2014-06-21 11:54:28 -07:00
Doug Turner
8538cb176e Bug 1006051 - Implement nsIParentalControlsService on the Mac. r=smichaud 2014-05-05 11:24:25 -07:00
Henri Sivonen
2182f447b0 Bug 943252 m-c part - Remove dead code related to the old Character Encoding menu implementation. r=Unfocused. 2014-04-30 10:41:15 +03:00
David Rajchenbach-Teller
b2b8e65b0f Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-14 10:13:26 -04:00
Ryan VanderMeulen
d2b4456c69 Backed out changesets c6ca1aa3887a, d741e117a033, 1fd26e822e73, and 720962c9f993 (bug 961665) for build bustage and xpcshell failures. 2014-03-13 10:32:57 -04:00
David Rajchenbach-Teller
a458688066 Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-13 09:51:22 -04:00
Gian-Carlo Pascutto
2f0246c854 Bug 783047 - Remove MAC support from SafeBrowsing code. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Ms2ger
561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Birunthan Mohanathas
f2fd740542 Bug 798033 - Remove 'using namespace' from toolkit/ headers. r=bsmedberg 2013-12-08 21:53:46 -05:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ryan VanderMeulen
ccdd6e36c5 Backed out 5 changesets (bug 854169) for Android crashes.
Backed out changeset 8898b6c66941 (bug 854169)
Backed out changeset 12cebd8b5669 (bug 854169)
Backed out changeset 844860e32631 (bug 854169)
Backed out changeset 4ede802f8dbb (bug 854169)
Backed out changeset ccae8b3f0a7d (bug 854169)
2013-11-08 10:52:02 -05:00