Commit Graph

22089 Commits

Author SHA1 Message Date
James Willcox
9d684762a9 Bug 1462408 - Set correct Intent flags when launching Fennec crash reporter r=jchen
MozReview-Commit-ID: 6iXgivUWIWu

--HG--
extra : rebase_source : c7869baddc2eb03e27a88e75b73b1f3afe9768cc
2018-05-22 09:51:27 -05:00
Igor Oliveira
cf8108e051 Bug 1459089 - Don't use OS Locale when resistFingerprinting is enabled. When the OS Locale is used, it leaks the OS language in the HTTP Accept-Language header. r=mcomella
--HG--
extra : rebase_source : 7b0dc69be25c5076696a6bd9db7611cd5b0abbad
2018-05-03 18:28:00 +03:00
Eugen Sawin
09d5ef6ba1 Bug 1447390 - [1.1] Add cookie control runtime settings. r=snorp,jchen,francois 2018-05-23 00:05:39 +02:00
Oriol Brufau
ae9392e1f0 Bug 1451176 - Preserve tab-specific data when tab is moved to another window r=mixedpuppy
MozReview-Commit-ID: 80h4U7G3gmb

--HG--
extra : rebase_source : d8939d51f967a7c3a98977d3376d2727abd22a79
2018-04-04 16:04:11 +02:00
Delphine Lebédel
de145d79ac Bug 1460122 - Add 'en-CA' to Fennec all-locales for single-locale builds, r=flod
MozReview-Commit-ID: 2dCYQeL8PcE

--HG--
extra : rebase_source : d44c0a6d6cb699647e06c57a89c3afaa2af7789c
2018-05-21 15:44:12 -07:00
s37syed
0ba5ea93ce Bug 1411198 - Unlabeled voice input button. r=mcomella
Made QR string consistent with respect to other url related strings

MozReview-Commit-ID: 432jaONccer

--HG--
extra : rebase_source : 44b50664e9602a11d82a1c1759b3e35e9f25e075
2018-05-17 01:05:47 -04:00
s37syed
f7413006a4 Bug 1411198 - Unlabeled voice input button. r=mcomella
Added localization notes and more verbose strings for non-visual users.

MozReview-Commit-ID: FiOcDJrgRIy

--HG--
extra : rebase_source : 3fcaafc16e7bdbbeab881d16270b036b0a781cf4
2018-05-17 00:52:41 -04:00
s37syed
374a1d8e61 Bug 1411198 - Unlabeled voice input button. r=mcomella
Added contentDescription strings for QR Code and Voice Input

MozReview-Commit-ID: 6tpoewhPxev

--HG--
extra : rebase_source : 3ed1f0263f108ad63131f99168ee9879f83fbdb2
2018-05-14 21:35:34 -04:00
Petru Lingurar
1259f8acb6 Bug 1454686 - Remove Lint error suppression for unused strings; r=mcomella
Strings needed for this feature were added in a separate bug - 1445798 which were causing Lint errors.
When this feature will land there will be no need for the suppression.

MozReview-Commit-ID: IhtTS8rHLwz

--HG--
extra : rebase_source : 6c09445f7f8c6f6fb565f41e57f666e9cfc26627
2018-05-16 15:59:56 +03:00
Petru Lingurar
9d1cf91350 Bug 1454686 - Respond to changes in the new preference state state; r=mcomella
Because Mma cannot work if Health Report is disabled by the user (Settings - Privacy)
we will treat toggling Health Report on/off the same as we treat toggling the new preference from Settings - Notifications.
Toggling Health Report on will inform about the need to start LeanPlum (useful if the user did not explicitly stopped LP notifications but only Health Report which in turn disabled LeanPlum also) but there are other checks made afterwards (BrowserAp() is informed about this which calls GeckoPreferences.isMmaAvailable(..)) to decide if LP can and should be enabled.

Toggling any of these preferences will trigger an event caught by BrowserApp which can either
    - immediately initialize LeanPlum (if the toggle was off LP is not running) as it would normally do when the app first starts
    - stop LeanPlum reporting to servers, flush the per-session available messages
      and resets the LP started status so that it can be restarted in the same app session (like if the user toggles the feature again)

MozReview-Commit-ID: 1SmhN0NucWW
***

--HG--
extra : rebase_source : b461677fd8a07d7c0c463e55c33bae1a3a973a1f
2018-05-16 15:54:13 +03:00
Petru Lingurar
4c52d88b03 Bug 1454686 - Small refactoring of Mma related methods; r=mcomella
With the adding of the new preference that Mma depends on we need to have only one place where all the conditions for considering if Mma is available are checked - GeckoPreferences.isMmaAvailableAndEnabled()
Added only one place from where the availability of the LP experiments should be checked as that currently involves two checks - MmaDelegate.isMmaExperimentEnabled(..)
Also renamed isMmaEnabled() from MmaDelegate() and initSwitchboard from BrowserApp() to better express what those methods do.

MozReview-Commit-ID: BCJqM9b5JbW
***

--HG--
extra : rebase_source : 3c4b1707f69bfa5b39fe12ff45d8961b713f2291
2018-05-17 18:55:38 +03:00
Petru Lingurar
ef1c73d1d6 Bug 1454686 - MmaLeanPlumImp().stop() will now stop LP, stop showing messages and allow restart in same app session; r=mcomella
According to current LP documentation there are no SDK APIs to allow users to fully stop LP: events reporting and message displaying there.
After extensive testing and investigations I think I found the least intrusive way to offer that.

We will use internal methods but which are public so I hope they will be supported in the future also. Nevertheless we will need to maintain this in regards to future SDK updates.

MozReview-Commit-ID: Ke3HGAyCqVA
***

--HG--
extra : rebase_source : e6510e12777ee3286742f00ae75d8ca69296989e
2018-05-17 18:45:01 +03:00
Petru Lingurar
753b481522 Bug 1454686 - Add a new preference under Settings - Notifications; r=mcomella
The behavior of this new preference is dynamic in that:
- it will be hidden if LeanPlum is not available for the device
- it will be toggled off and disabled if Health Report is disabled by the user

MozReview-Commit-ID: 1x9zZukyygr
***

--HG--
extra : rebase_source : c31ad02cbbb106613914634b5192f856aad185b7
2018-05-16 11:49:35 +03:00
Michael Kaply
a97758663a Bug 1461345 - Move browser.search.order to list.json. r=adw
MozReview-Commit-ID: 1ulgkNgkAP9

--HG--
extra : rebase_source : 16c469f449a4684c6f43dd2cc82d2288b9fd2a34
2018-05-21 14:27:06 -05:00
Noemi Erli
cf07f127bc Backed out changeset 80cc5997d8cc (bug 1461345) for xpcshall failures on test_TelemetryEnvironment.js on a CLOSED TREE 2018-05-21 20:16:47 +03:00
Michael Kaply
574e1467e0 Bug 1461345 - Move browser.search.order to list.json. r=adw
MozReview-Commit-ID: 4eaWb8mzIm6

--HG--
extra : rebase_source : 83f01cadfca9ec44d52ba7f737ab9d23f004f044
2018-05-18 16:12:32 -05:00
Ciure Andrei
26287d7c31 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-19 01:09:10 +03:00
Ciure Andrei
2f509969e9 Merge inbound to mozilla-central. a=merge 2018-05-19 01:05:58 +03:00
Jim Chen
5ac39f4f7b Bug 1461747 - 3. Add missing permissions; r=me
Add missing geolocation permissions in geckoview_example and geckoview
androidTest.
2018-05-18 11:26:37 -04:00
Jim Chen
bd7bc7fd80 Bug 1461747 - 2. Fix typo in notification permission; r=me
MozReview-Commit-ID: Iwl1IIg8KPq
2018-05-18 11:18:04 -04:00
Jim Chen
4763384cf3 Bug 1461747 - 1. Add more permission tests; r=snorp
Add permission tests for geolocation and notifications.

MozReview-Commit-ID: CR8TGxsUyoL
2018-05-18 11:18:04 -04:00
Jim Chen
c68f5f3de7 Bug 1458020 - 5. Return default sample rate / frames per buffer; r=esawin
We apparently fail to get these properties when running in an emulator,
so we should just return default values.

MozReview-Commit-ID: IZVYIG9INaq
2018-05-18 10:16:04 -04:00
Jim Chen
6ed91a89a9 Bug 1458020 - 4. Add camera permission in the parent process; r=snorp
We had a permission error because we were trying to add camera
permission in the child process. Move it to the parent process, where
the permission is actually checked.

MozReview-Commit-ID: 2OE3BznlVTD
2018-05-18 10:16:04 -04:00
Jim Chen
9a556235ef Bug 1458020 - 2. Add PermissionDelegateTest; r=snorp
Add a test for the permission delegate that currently tests for Android
and content media permissions.

MozReview-Commit-ID: LEGfkN11Bh9
2018-05-18 10:16:04 -04:00
Jim Chen
0a61f5d916 Bug 1458020 - 1b. Add forceGarbageCollection; r=me
Add GeckoSessionTestRule.forceGarbageCollection() for improving the
stability of resource-intensive tests, by garbage-collecting before
running the test.

MozReview-Commit-ID: A4ITTPsPNNy
2018-05-18 10:16:04 -04:00
Jim Chen
4dd13f4142 Bug 1458020 - 1a. Add waitForJS and waitForChromeJS; r=me
Add waitForJS and waitForChromeJS methods that are similar to evaluateJS
and evaluateChromeJS. However, the wait methods count as wait events,
and will affect the behavior of forCallbacksDuringWait and
delegateDuringNextWait. The wait methods also wait for Promises to
resolve before returning their values.

MozReview-Commit-ID: IG41fw9zrBW
2018-05-18 10:16:03 -04:00
Jim Chen
afd607c9f2 Bug 1460326 - 5. Use text input delegate from GeckoInputConnection; r=esawin
Instead of using InputMethodManager directly, make GeckoInputConnection
go through the current delegate set in SessionTextInput.

MozReview-Commit-ID: BYSnJnHgqbv

--HG--
extra : rebase_source : 63f830b852ef949404252536c959cdad1b3e26be
2018-05-18 15:41:18 -04:00
Jim Chen
c758434a8e Bug 1460326 - 4. Add default SessionTextInput delegate; r=esawin
The default delegate forwards all the calls to the system
InputMethodManager.

MozReview-Commit-ID: D3BbxyrB5Kx

--HG--
extra : rebase_source : 5575b956232a8dc2aae09b342c687ae25efd8365
2018-05-18 15:41:18 -04:00
Jim Chen
a56f3f41e2 Bug 1460326 - 3. Add SessionTextInput.Delegate interface; r=esawin
Add a delegate interface for interactions between GeckoInputConnection
and the system, so that consumers can implement custom interactions if
necessary.

MozReview-Commit-ID: IvK39N40fwF

--HG--
extra : rebase_source : 6a631f67fbe32ad2102296ad0252f8dbf6999061
2018-05-18 15:41:18 -04:00
Jim Chen
62aa7706e0 Bug 1460326 - 2. Remove setShowSoftInputOnFocus; r=jchen
With support for the new delegate, the "show-soft-input-on-focus"
functionality should be implemented by a custom delegate.

MozReview-Commit-ID: 1BoVRjNemDf

--HG--
extra : rebase_source : b6a5f23cc875dcaecb3cb6e22797df32d3ca5926
2018-05-18 15:41:17 -04:00
Jim Chen
937d37437f Bug 1460326 - 1. Rename SessionTextInput.Delegate to InputConnectionClient; r=jchen
Rename Delegate to InputConnectionClient because Delegate will be a
public interface that consumers may choose to implement.

MozReview-Commit-ID: 9x9pYuvMxXK

--HG--
extra : rebase_source : 9a293d995ba8f6f71385aaa3106a71b0a7ebf40a
2018-05-18 15:41:17 -04:00
Eugen Sawin
9a9910a3db Bug 1461338 - [1.0] Fix event name typo. r=snorp 2018-05-17 17:55:32 +02:00
Petru Lingurar
dc645158f1 Bug 1434603 - Settings Header not changed when visiting sub-menus on Oreo; r=mcomella
The ActionBar's title will always be updated with the title of the visiting PreferenceScreen.

MozReview-Commit-ID: b5MyrSaWFC

--HG--
extra : rebase_source : 1ad23955ba940935898a4331debb5554a61b4359
2018-05-15 13:03:44 +03:00
Mathieu Leplatre
12404fede5 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : f659d946227db7b4266202283f44c1b3eadf53f1
2018-05-10 15:27:21 +02:00
William Lachance
7580f75456 Bug 1461772 - Submit display version as a property of the fennec core ping r=gsvelto
MozReview-Commit-ID: BFwgwOOo83s

--HG--
extra : rebase_source : 986add321c25e233702f1540127c19babd365797
2018-05-15 15:11:35 -04:00
Jim Chen
91b0d8809d Bug 1461746 - 4. Add Promise support in GeckoSessionTestRule; r=snorp
Whenever evaluateJS encounters a returned Promise, find a live Promise
from the Promises API that corresponds to the returned Promise, and
return a wrapper that lets the user see the state of the Promise and
wait on the Promise to resolve.

MozReview-Commit-ID: 1BQirz67Ty2

--HG--
extra : rebase_source : 437686bc71abc61bedf2bd50acc8899a4c50d218
2018-05-15 13:15:13 -04:00
Jim Chen
f174b6c28a Bug 1461746 - 3. Add Promises API support in RDP client; r=snorp
Add support for monitoring Promises, so tests can wait on Promises that
content returns. This makes it a lot easier to test Promise-based Web
APIs such as getUserMedia.

MozReview-Commit-ID: CHbeB7ErJgs

--HG--
extra : rebase_source : ccb3e8f4523ebc11389bdafafc16045d8c9fe50e
2018-05-15 13:15:12 -04:00
Jim Chen
bbb5f532eb Bug 1461746 - 2. Attach Tab actor automatically on creation; r=jchen
MozReview-Commit-ID: BC6RpwaWkJq

--HG--
extra : rebase_source : b24fdda2b48c828c538d99a81508667e810d49b0
2018-05-15 13:15:12 -04:00
Jim Chen
c15a16773b Bug 1461746 - 1. Fix RDP function object toString; r=jchen
Fix RDP function object's toString() implementation and add some tests.

MozReview-Commit-ID: 2US6bFcfidh

--HG--
extra : rebase_source : 2f8d741ed975dffc714a1875495e735a9f682a55
2018-05-15 13:15:11 -04:00
Margareta Eliza Balazs
895a18e365 Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE
--HG--
rename : services/settings/dumps/blocklists/addons.json => services/blocklists/addons.json
rename : services/settings/dumps/blocklists/certificates.json => services/blocklists/certificates.json
rename : services/settings/dumps/blocklists/gfx.json => services/blocklists/gfx.json
rename : services/settings/dumps/moz.build => services/blocklists/moz.build
rename : services/settings/dumps/pinning/pins.json => services/blocklists/pins.json
rename : services/settings/dumps/blocklists/plugins.json => services/blocklists/plugins.json
rename : services/settings/dumps/readme.md => services/blocklists/readme.md
2018-05-16 13:24:53 +03:00
Margareta Eliza Balazs
e5bdfc5b27 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-16 13:06:18 +03:00
Margareta Eliza Balazs
d4b9e50875 Merge inbound to mozilla-central. a=merge 2018-05-16 13:00:51 +03:00
Delphine Lebédel
1908c5b469 Bug 1452795 - Add 'lij' and 'mix' to Fennec all-locales for single-locale builds, r=flod
MozReview-Commit-ID: 3L663PXgo53

--HG--
extra : rebase_source : 397a76e20e832bf2a94a921222736692230689c8
2018-05-15 19:01:09 -07:00
Mathieu Leplatre
be075da5f4 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : 9aa249dae91408da483be23371f6f106ad6a47ca
2018-05-10 15:27:21 +02:00
Dorel Luca
7285fe0e8b Merge mozilla-central to autoland
--HG--
extra : rebase_source : 28cf949fe5cbd372058adac2d3a9d6e66902e6e3
2018-05-16 00:58:05 +03:00
Dorel Luca
0d2ff9e60d Merge mozilla-inbound to mozilla-central. a=merge 2018-05-16 00:54:22 +03:00
Eugen Sawin
9c403f8953 Bug 1457472 - [1.1] Simplify telemetry snapshot API to reflect new implementation constraints. r=snorp,jchen 2018-05-15 16:02:26 +02:00
Jan Henning
6609403350 Bug 1287651 - Mark methods as @Override now that we're compiling with a newer SDK. r=jchen
MozReview-Commit-ID: vrB0IOmob0

--HG--
extra : rebase_source : d3bd73f645a69570b4e0e6572849ee59a07cb91e
2018-05-15 22:07:05 +02:00
Jim Chen
e4fb3191e4 Bug 1461738 - 3. Add test for clearing navigation delegate on load; r=esawin
Add a test where we clear the navigation delegate right after starting a
load. This test exposes the race between Gecko thread and UI thread when
clearing a delegate.

MozReview-Commit-ID: IQrGcuwoDEk

--HG--
extra : rebase_source : 3f6b799c7ef0dcbff884915b73132e31f96fd25a
2018-05-15 13:15:11 -04:00
Jim Chen
074a583d57 Bug 1461738 - 2. Don't unregister listeners in GeckoSessionHandler; r=esawin
Unregistering listeners when we clear a delegate can lead to some event
races between the Gecko and UI thread. It's unclear to me if
unregistering events actually has much benefit, so I think we should
just not unregister events at all.

MozReview-Commit-ID: FS63NfbKgac

--HG--
extra : rebase_source : b2f6bb9558864cc9cd8dd35c22ee1af2ca7e429a
2018-05-15 13:15:11 -04:00