Commit Graph

26642 Commits

Author SHA1 Message Date
Randall Barker
27841b246e Bug 1477837 - Add GeckoView API to override device display density r=esawin,jchen
Differential Revision: https://phabricator.services.mozilla.com/D2808

--HG--
extra : moz-landing-system : lando
2018-08-07 20:10:15 +00:00
Petru Lingurar
b1b920e62f Bug 1480079 - Add REQUEST_INSTALL_PACKAGES permission for all builds; r=jchen
This permission is needed on API26+ to be able to install app updates but also
other downloaded APKs.

MozReview-Commit-ID: Lk0uqBAJ5BH

--HG--
extra : rebase_source : 5f31cfd06c2205cd2a96ac68ba19b697d49ae75c
2018-08-07 16:48:29 +03:00
Matt Brubeck
7b8f8f1076 Bug 1458662 - Re-enable regex JIT on aarch64. r=jchen
MozReview-Commit-ID: 8d2pO69R2OD

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

--HG--
extra : moz-landing-system : lando
2018-08-06 22:11:11 +00:00
Petru Lingurar
8dbf61da1e Bug 1474859 - Enable Multidex for all builds; r=nalexander
Multidex will now be enabled for all builds, not just for the _local_ ones.
Also added the 'ads-identifier' library needed for the builds with the
MOZ_INSTALL_TRACKING flag case in which the dex limit would be reached.

MozReview-Commit-ID: FRTXBD9Kc6T

--HG--
extra : rebase_source : c73a0a48d355edbe2080b14ceeb2f99609a45d7c
2018-08-06 18:38:48 +03:00
Petru Lingurar
e2ef3d8035 Bug 1410218 - Fix NPE when cast fails; r=jchen
This happened whenever starting to cast a video and loading the media failed.
MediaStatus in this case would be null and querying it would throw a
NullPointerException.
Avoiding this query when the MediaStatus is null lets the normal execution flow
continue and if loading media failed casting will fail gracefully.

MozReview-Commit-ID: 8ZOqr1FO1Dt

--HG--
extra : rebase_source : 905b7e83bc7265fe8312509dfc5aa6274dd89c5c
2018-08-03 13:26:55 +03:00
Zibi Braniecki
16229f69ef Bug 1475903 - Add mozIDOMLocalization API. r=mossop
In order to use DOMLocalization from C++ we need an XPIDL interface.
mozIDOMLocalization exposes the class and functionality allowing DocumentL10n to hook into it.

MozReview-Commit-ID: GPMhw61LPEg

--HG--
extra : rebase_source : 65d6e2b84379e78201f0c8b674630d1f485aaf8c
2018-06-22 13:14:23 -07:00
Noemi Erli
74a710cb5e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-04 15:39:02 +03:00
Noemi Erli
23c8a3a9f3 Backed out changeset 1e9ecba54e7b (bug 1348273) for failing on widget/tests/test_bug1123480.xul 2018-08-04 12:39:40 +03:00
Noemi Erli
0cacb5f9cb Backed out changeset acde419e016e (bug 1475573) for breaking Android builds 2018-08-04 10:12:40 +03:00
Jesse Schwartzentruber
ec180b72d0 Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=froydnj,nalexander
Reviewers: froydnj, nalexander

Reviewed By: froydnj, nalexander

Subscribers: froydnj

Bug #: 1475573

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

--HG--
extra : rebase_source : fcad543ea727e8974dc6aaade92053fa0008c5ff
extra : histedit_source : 0a8b60693d64fef0aefd985d9f3108cf77890e94
2018-08-04 09:46:02 +03:00
Thomas Wisniewski
6bf788e479 Bug 1479209 - Update GWS experiment in bz1453691 to clear the GWS serviceworker. r=rhelmer
MozReview-Commit-ID: JilTr1E6Fkv

--HG--
extra : rebase_source : 617a0e8978c37fe75c5b2568e221be45a22834db
2018-08-03 12:52:36 -04:00
Bogdan Tara
f2cb75b28c Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
Tudor-Gabriel Vîjială
a16d201c28 Bug 1473313 - Part 5: Add in-tree documentation page for Android code coverage. r=nalexander
MozReview-Commit-ID: 20meKbpduha

--HG--
extra : rebase_source : 0383fe0cab846c148e1b20b2ee517730a18fae32
2018-07-31 12:02:08 +01:00
Narcis Beleuzu
394893c006 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 01:35:43 +03:00
Eugen Sawin
6e3b78c7be Bug 1480460 - [2.1] Add onProgressChange test. r=jchen 2018-08-03 00:29:51 +02:00
Eugen Sawin
23de33333d Bug 1480460 - [1.1] Add basic progress bar to the example app. r=snorp 2018-08-03 00:29:51 +02: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
Tudor-Gabriel Vîjială
62e4daad39 Bug 1473313 - Part 4: Add build and test platforms for android emulator code coverage. r=gbrown
MozReview-Commit-ID: IkSKdB7ZeYi

--HG--
extra : rebase_source : 1cff84a03c8f590ac3df5e0dc1ccf217fd2589c3
2018-07-24 11:53:37 +01:00
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
Gabriele Svelto
50ba13cce4 Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant functions are updated to take a typed enum (in C++) and an
integer constant (in JavaScript). A JavaScript wrapper around the crash
reporter service is provided to hold the constants. The existing whitelists
and blacklists of annotations are also generated from the YAML file and the
existing duplicate code has been consolidated. Once written out to the .extra
file the annotations are converted in string form and are no different than
the existing ones.

All existing annotations have been included (and some obsolete ones removed)
and all call sites have been updated including tests.

--HG--
extra : rebase_source : b4f0d4bf83c64851028c271d3fab3ebcb6fbcd3e
2018-07-05 15:42:11 +02:00
Coroiu Cristina
1ba19a32ac Backed out changeset 86471a18672f (bug 1348273) for ESlint failure at toolkit/modules/WebNavigationChild.jsm
--HG--
extra : rebase_source : e0c94f49ddc1f1b119b72c06fccc1b4363b9d340
2018-08-03 22:48:51 +03:00
Gabriele Svelto
eff24befbd Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant functions are updated to take a typed enum (in C++) and an
integer constant (in JavaScript). A JavaScript wrapper around the crash
reporter service is provided to hold the constants. The existing whitelists
and blacklists of annotations are also generated from the YAML file and the
existing duplicate code has been consolidated. Once written out to the .extra
file the annotations are converted in string form and are no different than
the existing ones.

All existing annotations have been included (and some obsolete ones removed)
and all call sites have been updated including tests.

--HG--
extra : rebase_source : f0e8d229581ac5c0daa0e0454cb258746108e28d
2018-07-05 15:42:11 +02:00
Boris Zbarsky
e4b74becff Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -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