Commit Graph

26621 Commits

Author SHA1 Message Date
Tudor-Gabriel Vîjială
ae279dbf60 Bug 1473313 - Part 1: Set up geckoview build config for androidTest coverage runs. r=nalexander
This patch adds JaCoCo as a dependency for the geckoview androidTest configurations, as well as
the `mach android archive-geckoview-coverage-artifacts` command, and the `--enable-java-coverage`
mozconfig flag.

MozReview-Commit-ID: 36jNAzK44g3

--HG--
extra : rebase_source : 9edc37913a3929ad045270c601c77791d122e363
2018-07-24 11:44:24 +01:00
Narcis Beleuzu
4684ccf98e Merge inbound to mozilla-central. a=merge 2018-08-03 01:28:14 +03:00
Boris Zbarsky
c02c1c0f2b Bug 1476142 part 3. Remove some unnecessary QIs in mobile. r=snorp 2018-08-02 15:26:48 -04:00
Petru Lingurar
9174e20795 Bug 1349522 - Provide alternative adaptive-icon with Android SDK O; r=jchen
Used the provided foreground layers and background color for the icons of
Release and Nightly.
Used the old icon and the provided background color for the icons of Beta and
Dev builds. Proper icons for them will be added in bug 1479724.

Added support for round icons which as per
https://developer.android.com/about/versions/nougat/android-7.1#circular-icons
can be required by certain launchers.

The old icons - /drawable/icon.png are still kept because they are used as
logos and also by SiteIdentityPopup.java.

MozReview-Commit-ID: EA9pojukhmw

--HG--
extra : rebase_source : d960bb0785b329a91493d9fe2c126549a5641189
2018-08-02 15:06:24 +03:00
Noemi Erli
58e27f3dd9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-02 12:04:24 +03:00
Noemi Erli
8f66a71e70 Merge inbound to mozilla-central. a=merge 2018-08-02 11:54:46 +03:00
dvarga
956d57e7f2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
dvarga
e487e6e564 Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
dvarga
d050f46b93 Merge autoland to mozilla-central. a=merge 2018-08-02 01:07:53 +03:00
L10n Bumper Bot
3e1a118720 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
en-CA -> ['android', 'android-api-16', 'android-multilocale']
lij -> ['android', 'android-api-16', 'android-multilocale']
2018-08-01 11:04:05 -07:00
Eugen Sawin
baecd0e884 Bug 1479026 - Adjust GeckoView telemetry API tests to match corrected schema. r=janerik,jchen
--HG--
extra : histedit_source : 04dc658f18ab0c499a24dafdb06f214f3f680c2c
2018-07-31 13:19:00 +03:00
Andrea Marchesini
5991b3ebdd Bug 1457170 - Get rid of nsICookieService::ACCEPT_FOR_N_DAYS, r=valentin 2018-08-01 14:41:21 +02:00
Alexis Deschamps
dded25327a Bug 1476034 - about:crashes: switched to fluent. r=flod,Pike
Summary:
The about:crashes page is being updated (bug 1463515). To facilitate these changes,
this patch changes the about:crashes page to use Fluent for localization instead of the old systems.
This also includes a script to migrate strings from the old .DTD and .properties files
to the new .ftl one.

Test Plan:
1. build Firefox with the changes
2. run Firefox
3. go to the about:crashes page
4. expect nothing to be different

This extension: https://github.com/rhelmer/webext-experiment-crashme can be used to
add local crash reports for verifying the different states of the about:crashes page.

Reviewers: flod, Pike, jchen, snorp

Reviewed By: flod, Pike, jchen, snorp

Subscribers: nalexander, reviewbot

Bug #: 1476034

Differential Revision: https://phabricator.services.mozilla.com/D2225

--HG--
extra : rebase_source : 0ca9516b4df78e735fd03907f2ea324bc72ca893
2018-08-01 10:31:14 +03:00
Bogdan Tara
9c44097a0d Merge inbound to mozilla-central. a=merge 2018-08-01 00:58:55 +03:00
Jim Chen
79ae4ae18f Bug 1479536 - Fix SessionFinder.clear(); r=droeh
Fix the clear() call to clear highlights in addition to the selection.

MozReview-Commit-ID: 1DNXa8fIGTP

--HG--
extra : rebase_source : c84033c644becf2c9b0e7df8d2580523e75de97d
2018-07-30 16:21:29 -04:00
Eugen Sawin
7efdec7ac1 Bug 1451476 - [2.0] Add GeckoView page load error API tests. r=snorp 2018-07-31 20:43:33 +02:00
Eugen Sawin
80290a1133 Bug 1451476 - [1.2] Add GeckoView page load error API. r=snorp,droeh,smaug 2018-07-31 20:43:33 +02:00
dvarga
09eac64963 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 01:19:44 +03:00
Jim Chen
322630c0eb Bug 1479584 - Move WebExtension modules to GeckoView; r=kmag
Android-specific WebExtension modules (e.g. ext-android.js) are
currently packaged inside chrome.jar. However, GeckoView only includes
geckoview.jar and not chrome.jar. So to make GeckoView be able to load
WebExtensions at all, we need to move these modules to geckoview.jar.

MozReview-Commit-ID: CVpIAZxgkwy

--HG--
extra : rebase_source : 73e5df7dc32faf326787293f9938319fffa55fad
2018-08-01 14:57:03 -04:00
Dan Mosedale
9fc855eec6 Bug 1478995 - Add node toolchain path to automation mozconfigs, r=gps
MozReview-Commit-ID: 37gYPLYJD85

--HG--
extra : rebase_source : a0b1cb598eeb852b7df1912a94a085d31862c86f
2018-06-01 14:59:45 -07:00
Mark Banner
43685f06cb Bug 1478305 - Remove unnecessary ChromeUtils.import calls in mobile/. r=snorp
MozReview-Commit-ID: 1eLC4Hutkcc

--HG--
extra : rebase_source : bb56e8164e816948100cb813f84b8b17c6fab490
2018-07-30 10:36:49 +01:00
Petru Lingurar
bdca79e5ac Bug 1478970 - Can't update Nightly from about:firefox or notification bar - Android O+; r=jchen
As per
https://android-developers.googleblog.com/2017/08/making-it-safer-to-get-apps-on-android-o.html
and
https://developer.android.com/reference/android/Manifest.permission.html#REQUEST_INSTALL_PACKAGES
after targeting API 26 we need a new permission to be able to install Apks.

MozReview-Commit-ID: BF28HTkwYTN

--HG--
extra : rebase_source : cbbbbfb8578d1430810c773d2da99ecd99e69615
2018-08-01 09:09:11 +03:00
Boris Zbarsky
74a3d194eb Bug 1446940 part 4. Stop getting docshells from windows via getInterface in mobile. r=snorp 2018-08-01 13:07:11 -04:00
Petru Lingurar
eaacb22353 Bug 1233706 - Make error message more helpful for instrumented Robocop tests; r=jchen
MozReview-Commit-ID: 286GgFXm0vR

--HG--
extra : rebase_source : 37d8583b41cb51105752e1ac99c42e6449862ba0
2018-07-26 13:36:34 +03:00
Jim Chen
7c54ff18e5 Bug 1472140 - 2. Set text input / accessibility views with the session; r=esawin
Instead of changing the text input / accessibility views during window
attachment / detachment, we should change them during session attachment
/ detachment because those views are associated with the session.

MozReview-Commit-ID: G89rnc9ySS1

--HG--
extra : rebase_source : 9f0e604bde2589d8c45f013fa1bd5cc2be437dc8
2018-07-30 16:38:35 -04:00
Jim Chen
9c55d02aa5 Bug 1472140 - 1. Set first paint flag when resuming and resizing composition; r=rbarker
When resuming composition in a new GeckoView, we wait for the first
paint signal in order to uncover the SurfaceView. This patch makes sure
that we always send the first paint signal.

MozReview-Commit-ID: EZeOR80d8HY

--HG--
extra : rebase_source : f82ab94ef87e5b0651f368918e8cd8a97469c68e
2018-07-30 16:38:35 -04:00
Shane Caraveo
aad6d3674f Bug 1378647 - support creating lazy tabs from extensions, r=JanH,mikedeboer,rpl
MozReview-Commit-ID: 9QMkNtCQG6P

--HG--
extra : rebase_source : 1c4d57ac25b00d0a63901f4fd00b11e0b5d765a5
2018-07-30 12:15:32 -03:00
Vlad Baicu
2abaca92ad Bug 1477041 - Modified MediaControlService and notification flow. r=jchen
Created a new parcelable which is sent to MediaControlService where
the notification is created based on the data of this object instead of
referencing a static notification. Toggling the service is now done through
startService with a specific action for shutting down instead of calling
stopService due to concurrency issues where the service can be stopped before
having a chance to call startForeground.

MozReview-Commit-ID: 6qNPintkVy

--HG--
extra : rebase_source : b161d07e8fb0831deb7b4549985e6b5c276366c0
2018-07-30 16:21:09 +03:00
Andreea Pavel
796058f4eb Merge mozilla-inbound to mozilla-central. a=merge 2018-07-30 12:52:00 +03:00
Makoto Kato
30bdb835f5 Bug 1462019 - Part 3. GeckoView test should use abstract socket address. r=snorp 2018-07-30 15:12:12 +09:00
Makoto Kato
aa6e598c39 Bug 1462019 - Part 2. Use abstract socket address for USB remote debugging. r=jryans 2018-07-25 14:47:49 +09:00
Csoregi Natalia
033d45ca70 Merge inbound to mozilla-central. a=merge 2018-07-29 12:45:56 +03:00
Jim Chen
44be67d3c7 Bug 1478800 - Fix find-in-page display flags; r=droeh
Make the display flags actually work.

MozReview-Commit-ID: 1fw9Oa0IaGc

--HG--
extra : rebase_source : 03924c109cc4a0548de2d5dff0f945d8a04f77cf
2018-07-26 17:51:45 -04:00
Gurzau Raul
53b701b3b5 Backed out changeset 6c537d2395f5 (bug 1478549) for failing at builds/worker/workspace/build/src/mach on a CLOSED TREE 2018-07-28 14:12:21 +03:00
Dale Harvey
318fb222af Bug 1478549 - Allow user to configure android media autoplay pref. r=JanH
MozReview-Commit-ID: EPKzLrIc3lg

--HG--
extra : rebase_source : ad8e0409947e61003d373f870f2d0cdf57afc34d
2018-07-27 16:37:11 +01:00
Gurzau Raul
db79375c66 Merge inbound to mozilla-central. a=merge 2018-07-28 12:45:44 +03:00
Eitan Isaacson
329ee2b3cc Bug 1477002 - Use message broadcaster to manage jsat content scripts. r=yzen
This patch does several things:
 1. When "domwindowopened" is dispatched it often doesn't have a
document yet, so we need to wait for it to load before determining if we
should attach it.
 2. Instead of managing individual message managers use a broadcaster
and load delayed scripts. This makes new window additions more robust.
 3. A content script now doesn't need a ready/start message but
initializes in-line. This added more complexity which we don't need. All
the info that we passed to it in AccessFu:Start can be gotten in other
ways (also, Services.appinfo.ID now works in child processes, so no need
for that).
 4. Tweaked the tests to support inline frame script initilization.
 5. Removed the scroll callback from content-script.js that was not used
anymore.
2018-07-27 15:19:00 +03:00
dvarga
ee36f71336 Merge mozilla-central to autoland on a CLOSED TREE 2018-07-27 20:51:09 +03:00
dvarga
d78485112a Merge inbound to mozilla-central. a=merge 2018-07-27 20:42:15 +03:00
Nathan Froyd
501b992f9a Bug 1435409 - use our own clang rather than the NDK clang to build Android; r=nalexander 2018-07-27 09:52:53 -05:00
Vlad Baicu
ba3bff432b Bug 1476720 - Set MLS notification action. r=jchen
Moved notification channels to NotificationHelper and created
new utility methods to retrieve them when needed. Cleaned unused
imports.

MozReview-Commit-ID: L3HnV3nD7Og

--HG--
extra : rebase_source : fdc18b8f31f76d988a3748b640e86607bb0b4186
2018-07-26 17:42:19 +03:00
Vlad Baicu
f9a7a9224f Bug 1476720 - Set MLS notification action. r=jchen
Added a content action which will open the privacy settings when
tapping the mozilla location services notification.

MozReview-Commit-ID: 9h85amcoF0T

--HG--
extra : rebase_source : 8e8914e742023d3a6fb16397480df0d6eea6adb3
2018-07-25 14:32:02 +03:00
Eugen Sawin
b4166babb9 Bug 1478777 - [1.0] Remove base URI support from the GeckoSession API. r=snorp 2018-07-27 13:52:59 +02:00
Csoregi Natalia
470d472200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-27 01:01:27 +03:00
Csoregi Natalia
3708e71462 Merge inbound to mozilla-central. a=merge 2018-07-27 00:58:11 +03:00
Petru Lingurar
4cebd537d7 Bug 1412518 - Photon themed DatePicker; r=jchen
On Api >=21 the Material DatePicker will have applied a Photon style.
Below Api 21 DatePicker will still be using spinners.

MozReview-Commit-ID: LuWP6C1o4Ej

--HG--
extra : rebase_source : 91eccfdeb0c4f17e9f0616fa25463d1b5558009a
2018-07-25 17:17:28 +03:00
Petru Lingurar
9e97ceaf6b Bug 1412518 - Photon themed TimePicker; r=jchen
On Api >=21 the Material TimePicker will have applied a Photon style.
Below Api 21 TimePicker will still be using spinners.

MozReview-Commit-ID: 2jZLPGCx4rI

--HG--
extra : rebase_source : a57376bf59077b6d64bcca8ba704ca1b6324383e
2018-07-25 17:03:15 +03:00
Eugen Sawin
af49add1ed Bug 1437988 - [2.0] Use progress tracking events for custom tabs progress bar. r=droeh 2018-07-26 18:46:50 +02:00
Eugen Sawin
28404bd49d Bug 1437988 - [1.5] Add progress tracking and expose progress via a delegate callback. r=jchen,snorp,droeh 2018-07-26 18:46:50 +02:00
Tim Nguyen
3ec43b5c31 Bug 1476970 - Port desktop LightweightConsumer.jsm changes to Android. r=nalexander
MozReview-Commit-ID: 6zeneRwPeI4

--HG--
extra : rebase_source : 18392e1823d536020e5615033bdbbea83c71b224
2018-07-26 10:39:40 +01:00