Commit graph

294 commits

Author SHA1 Message Date
Ascrod
732e1e66f3 Remove geoip lookup for search engine defaults. Tag #245. 2019-04-27 08:25:30 +08:00
ThosRTanner
660304c6ff Remove unused parameter from call
Fixes #1043
2019-04-27 08:24:25 +08:00
Ascrod
0e3dbe8f54 Remove unused try/catch block. Tag #991. 2019-04-27 08:23:33 +08:00
Ascrod
09bcb1f834 Pref try/catch block fixup. Tag #991. 2019-04-27 08:22:27 +08:00
Ascrod
e309515e66 Issue #991 Part 7: Toolkit Components 2019-04-27 08:22:20 +08:00
Roy Tam
838b5e4e48 Merge remote-tracking branch 'origin/master' into custom 2019-04-19 09:42:27 +08:00
Moonchild
ccf32a6b79 Remove various FxA tests 2019-04-19 09:40:26 +08:00
Roy Tam
51fa1b8bdb Merge remote-tracking branch 'origin/master' into custom 2019-04-04 20:32:53 +08:00
wolfbeast
0a50553673 Issue #187: Remove solaris 1st party code OS checks. 2019-04-04 20:26:29 +08:00
Roy Tam
f097325b98 Revert "Issue #756 - Remove contextual identity from BackgroundPageThumbs.jsm"
This reverts commit fbd9f1fcd4.
2019-04-04 19:35:48 +08:00
Roy Tam
979a96c49a Revert "Issue #756 - Remove Contextual Identity from UnifiedComplete"
This reverts commit 50bf383712.
2019-04-04 19:35:37 +08:00
Gaming4JC
50bf383712 Issue #756 - Remove Contextual Identity from UnifiedComplete
reverts m-c 1287866
2019-03-29 22:26:12 +08:00
Gaming4JC
fbd9f1fcd4 Issue #756 - Remove contextual identity from BackgroundPageThumbs.jsm
reverts m-c 1279568, 1309699, 1310112
2019-03-29 22:23:03 +08:00
Ascrod
8d45fa6874 Remove obsolete getPref helpers. 2019-03-29 22:22:33 +08:00
Matt A. Tobin
fbac3d3bce Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-09 10:22:42 +08:00
Matt A. Tobin
3b0f343401 Revert "Don't include nsDownloadManagerUI if the Communicator version is used"
This reverts commit 853fe00ba0cb91d564031706ef82038e9a4619ed.
2019-03-09 10:22:40 +08:00
Matt A. Tobin
3133535495 Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-09 10:22:35 +08:00
wolfbeast
1e6b075d1d Make the Auth prompt DOS protection a browser-element opt-in feature. 2019-03-02 12:19:28 +08:00
wolfbeast
54df9f8a30 WIP fix 1 2019-03-02 12:19:23 +08:00
wolfbeast
46927bbb59 Remove toolkit/components/maintenanceservice/
Tag #145
2019-02-21 14:56:42 +08:00
wolfbeast
1a5eb981a7 Include blankthumb in the correct file. 2019-02-16 00:27:57 +08:00
wolfbeast
39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
adeshkp
521c918660 Remove telemetry leftovers from JS engine. 2019-02-16 00:27:38 +08:00
David Teller
7d0bef1093 Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-02-16 00:27:30 +08:00
wolfbeast
dce38e8d76 Revert "Reduce number of allocations in AutoStopwatch"
This reverts commit 3476c1d60ec29c5497123194acd7a9310b1023d2.
2019-02-16 00:27:29 +08:00
David Teller
059aeea416 Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-02-16 00:27:28 +08:00
wolfbeast
19f9451de0 [WebExAM] Use proper application name in WebExtension API error message. 2019-02-16 00:24:10 +08:00
adeshkp
aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast
69919870c1 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2019-02-16 00:23:07 +08:00
wolfbeast
0298125fa6 Return an empty set if getting recipes for host fails.
This avoids errors when _recipeManager is not (yet) available.
This resolves #496.
2019-02-16 00:22:48 +08:00
Moonchild
b504989570 Update package.json
Update request version dependency
2019-02-16 00:20:08 +08:00
JustOff
5c9fd5c5c6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2019-02-16 00:18:14 +08:00
Gaming4JC
3c4b6babee Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:18:11 +08:00
Moonchild
d0e0acb1fa Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2019-02-16 00:18:05 +08:00
Gaming4JC
5d075cfe31 Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:17:59 +08:00
Ascrod
879373db7a Update Readability from mozilla-central release branch (FF 62.0.3). Tag #361. 2019-02-16 00:15:57 +08:00
Ascrod
30f3c09db5 Remove unused import from AboutReader module. Tag #361. 2019-02-16 00:15:55 +08:00
wolfbeast
a00d3a4d9e Fix a test (#670) 2019-02-16 00:15:48 +08:00
wolfbeast
775dc680e9 Remove cache I/O telemetry.
Tag #21.
2019-02-16 00:14:55 +08:00
wolfbeast
b882e7c6be Remove telemetry probes to get detailed disk cache hit rate.
Tag #21.
2019-02-16 00:14:54 +08:00
wolfbeast
e87890d893 Remove telemetry probes for cache file system. 2019-02-16 00:14:52 +08:00
wolfbeast
1f4a5663e9 Update telemetry whitelists.
Tag #21.
2019-02-16 00:14:48 +08:00
wolfbeast
f019ffbb0b Remove telemetry to find optimal cache entry hash size
Tag #21.
2019-02-16 00:14:40 +08:00
NTD
abaee14a7e Only opt-in to esr52 search service for select applications 2019-02-16 00:14:37 +08:00
JustOff
3b473f209a Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog 2019-02-16 00:14:20 +08:00
Ketmar Dark
59440a335d fix mozilla regression in search service (saving user-defined search engines)
this restores some API that is used by search engine management extensions, and
  tells "browser-search-engine-modified"/"engine-changed" signal to save user-defined
  search engines to "%PROFILE%/searchplugins", as it did in Good Old Times.
2019-02-16 00:12:54 +08:00
wolfbeast
f99050d1d8 Write out serialized search engine files when rebuilding cache.
This makes sure that any in-browser edits of search engines (searchplugins) are made permanent on disk.
Ref: https://forum.palemoon.org/viewtopic.php?f=13&t=20296 (Ketmar)
2019-02-16 00:12:37 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
3b27dfb5e3 Remove TelemetryStopwatch module.
Tag #21
2019-02-16 00:11:42 +08:00