Commit graph

268 commits

Author SHA1 Message Date
wolfbeast
d2baf53a14 Revert "Capture delayed events and cancel as necessary."
Tag #1052 (backout).
Backed out for creating issues like #1191 and other issue-less problems
with e.g. losing the caret from text boxes. Of note: this was also
backed out from m-c for similar reasons in Bug 1332433.
This fixes #1191.
This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
2019-07-19 10:04:49 +08:00
Roy Tam
5158861de1 Merge remote-tracking branch 'origin/master' into custom 2019-07-08 20:30:09 +08:00
Gaming4JC
b4fa30b382 Issue #1160 - Remove HotFix Preferences from Telemetry 2019-07-08 20:29:14 +08:00
Roy Tam
c2b2ce2c5c Merge remote-tracking branch 'origin/master' into custom 2019-06-29 06:11:18 +08:00
wolfbeast
512a3ba8e8 Revert "Treat *.jnlp as an executable class file, like *.jar"
Rationale: This was a Mozilla oversight and/or error.
This change has caused harm and is causing users to switch back to
Chrome, Safari or Edge for their WebStart needs.

JNLP is not an executable and should not be treated as such. JNLP should
be treated the same as any (e.g. Word) document and allowed to be opened
with the designated program.
A JNLP file will not cause execution on a system unless it has a valid
signature, and the user explicitly authorizes the launching based on
information provided by the signature. Moreover, there will even be a
check by the Java environment to see if the Java runtime (if there is
one) is current, and prompt the user to update if required.

This reverts commit 21495c58976e3cbbfe54d2e54d1fd67e36dff2a6 and
modifies ApplicationReputation.cpp to keep the list in sync (was a
discrepancy before).
2019-06-29 06:03:55 +08:00
Roy Tam
6431b85501 Merge remote-tracking branch 'origin/master' into custom 2019-05-31 07:28:33 +08:00
wolfbeast
d7fad8539b Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217
2019-05-31 07:22:21 +08:00
wolfbeast
b3deb955e9 [places] Prevent some abuse of smart queries. 2019-05-31 07:21:02 +08:00
Roy Tam
220b809fb9 Merge remote-tracking branch 'origin/master' into custom 2019-05-11 06:27:21 +08:00
monikamaheshwari
cf0a5a54cd Bug 1429442 - Buttons in "type control" popup in reader mode should have tooltips r=Gijs,MarcoZ 2019-05-11 06:22:10 +08:00
Sonali9
03e0f27552 Bug 1151735 - Hide font panel when text is being selected r=Gijs 2019-05-11 06:22:08 +08:00
monikamaheshwari
deed413b53 Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs 2019-05-11 06:22:06 +08:00
Ascrod
a0ceaeace8 Bug 1399616 - add WP emoji styling to reader mode. 2019-05-11 06:22:04 +08:00
Ascrod
ecf329f733 Fix parse node limit preference. Tag #361. 2019-05-11 06:22:02 +08:00
Ascrod
14aede3cc5 Replace explicit pref observer with lazy preference getters. Tag #361. 2019-05-11 06:22:00 +08:00
Ascrod
85caaf571c Update surrounding code for new Readerable module. Tag #361. 2019-05-11 06:21:58 +08:00
Ascrod
5252a0779a Update Readability from mozilla-central release branch (FF 66.0.3). Tag #361. 2019-05-11 06:21:55 +08:00
Roy Tam
2cb30a238c Merge remote-tracking branch 'origin/master' into custom 2019-04-27 09:01:02 +08:00
wolfbeast
e3827df1a0 Capture delayed events and cancel as necessary.
Tag #1052
2019-04-27 08:56:22 +08:00
Matt A. Tobin
c6d0f188da Don't use UpdateChannel.jsm in nsBlocklistService.js 2019-04-27 08:55:33 +08:00
Matt A. Tobin
97059c1b48 Issue #1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC 2019-04-27 08:51:55 +08:00
Matt A. Tobin
85045bf6be Sort out search service
The ESR52 implementation is now Basilisk specific and the older implementation is the shared toolkit one
2019-04-27 08:27:19 +08:00
Matt A. Tobin
0142cf25ab Remove tests from search service 2019-04-27 08:27:09 +08:00
Ascrod
f591aeb2fa Remove browser.search.region usage. Tag #245. 2019-04-27 08:25:33 +08:00
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