Граф коммитов

26685 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 9d0fd10b85 Bug 1472491: Part 5n - Add AudioPlaybackChild actor. r=felipe
MozReview-Commit-ID: DtGNW4riHQX

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/AudioPlaybackChild.jsm
extra : rebase_source : d37eef766306f0967ac4c13b4705e32197f7d0f6
2018-07-29 21:27:32 -07:00
Kris Maglione 739cafdadd Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.

MozReview-Commit-ID: Jb6CWWW7v3v

--HG--
extra : rebase_source : 6c465c492ef423616346d70047c4fd4b074af303
2018-08-11 15:27:12 -07:00
Mike Hommey 288e82c02c Bug 1480006 - Enable LTO on Android CI builds. r=froydnj 2018-08-14 08:26:47 +09:00
Eugen Sawin 2b5ddea72f Bug 1479026 - Adjust GeckoView telemetry API tests to match corrected schema. r=janerik 2018-08-13 15:22:52 +02:00
Petru Lingurar 4b11eb4490 Bug 1480421 - Crash reporter not working prior to Android O r=jchen
Summary:
When running on pre Oreo devices CrashReportingService (a JobIntentService)
is started as a regular Service.
Return super.onStartCommand(..) to make sure onHandleWork() would be caled.

Reviewers: sdaswani, VladBaicu, jchen

Reviewed By: jchen

Bug #: 1480421

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

--HG--
extra : rebase_source : 78d83fca65b000a10e2f8b522c8ee57cd364a829
extra : histedit_source : 71a48d23421fec60ded4c0c45c8cafb8927196ab
2018-08-11 11:52:17 +03:00
Petru Lingurar 4d043f9fc6 Bug 1480806 - Remove javascript intent filter if unused r=jchen
Reviewers: jchen

Reviewed By: jchen

Bug #: 1480806

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

--HG--
extra : rebase_source : ac696c1611589566ef98c6433bf8a2b272b881d4
extra : histedit_source : 54a20b0fceeb0b22c94202c7cd7986b97f027158
2018-08-11 11:49:13 +03:00
Mike Hommey f4f54e5aeb Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 09:47:41 +09:00
Bogdan Tara 347da2ba78 Backed out changeset 003838e8d110 (bug 1482330) for Adnroid build bustages on mozalloc_abort.cpp CLOSED TREE 2018-08-11 03:22:58 +03:00
Bogdan Tara 2f2b719960 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-11 01:01:18 +03:00
Mike Hommey ee95699e6b Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 06:50:21 +09:00
Yura Zenevich e0c82272d3 Bug 1481924 - added GevkoView accessibility tests for scrolling. r=eeejay, jchen
MozReview-Commit-ID: ATGNFruDGAI
2018-08-10 13:13:35 -04:00
Yura Zenevich 2b1f8c8ae8 Bug 1481922 - add support for select action and view selected event. r=eeejay, jchen
MozReview-Commit-ID: FaLz7majPhz
2018-08-10 13:13:27 -04:00
Margareta Eliza Balazs d5a51ec1a6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-10 12:22:04 +03:00
Andrei Lazar 262118affd Bug 1476966 Constant notification ringing when downloading a file r=JanH
Created specific notification channel dedicated to download progress notifications.

MozReview-Commit-ID: 88vsQiI2L2
***

--HG--
extra : rebase_source : 146563fd14a59299bc9bbba79fc9bdfd9e7ed37f
2018-08-09 14:07:02 +03:00
Eugen Sawin a9fe7d83f0 Bug 1480813 - [1.0] Use non-animated setProgress method to avoid API level 24 dependency. r=snorp 2018-08-09 16:28:14 +02:00
Eugen Sawin 0e43a32a72 Bug 1480757 - [4.0] Emit load error when blocking load requests for unsafe URIs. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin e50c9c3c62 Bug 1480757 - [3.0] Add some IntentUtils tests. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin b89781fbd8 Bug 1480757 - [2.0] Block unsafe URI intent load requests. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin af25612f9c Bug 1480757 - [1.0] Move safe intent handling utilities from IntentHelper to IntentUtils to make them accessible in GeckoView. r=jchen 2018-08-09 16:27:31 +02:00
dvarga bc1e909e78 Backed out 6 changesets (bug 1476106) for failure at bf1f28e2b46d for failure at testing/marionette/harness/marionette_harness/tests/unit/test_screen_orientation.py
Backed out changeset bf1f28e2b46d (bug 1476106)
Backed out changeset ab38b11f85dd (bug 1476106)
Backed out changeset b1a3ff0760bf (bug 1476106)
Backed out changeset deb22f602d59 (bug 1476106)
Backed out changeset 3b1084efc943 (bug 1476106)
Backed out changeset 6d885f08136b (bug 1476106)

--HG--
extra : rebase_source : 34de95d347ba0bdc2afaca1597460d042af880c0
2018-08-08 22:39:03 +03:00
Matt Brubeck 770d982a69 Bug 1471868 - Don't set composing region after removing autocomplete. r=jchen
Backport of https://github.com/mozilla-mobile/android-components/pull/423

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

--HG--
extra : moz-landing-system : lando
2018-08-08 15:35:22 +00:00
Jan Henning 7b902db1b5 Bug 1479311 - Don't attempt finding and highlighting a tab's base domain within a javascript: URL. r=snorp
MozReview-Commit-ID: DzE0UJfMcCI

--HG--
extra : rebase_source : 2a9bcc74447a8a2862aa3c753f7bd30e1d0361dc
2018-08-03 20:58:46 +02:00
Gabriele Svelto 15adf94f4d 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 C++ functions are updated to take a typed enum. JavaScript
calls are unaffected but they will throw if the string argument does not
correspond to one of the known entries in the C++ enum. The existing whitelists
and blacklists of annotations are also generated from the YAML file and all
duplicate code related to them 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 in the list (and some obsolete ones
have been removed) and all call sites have been updated including tests where
appropriate.

--HG--
extra : source : 4f6c43f2830701ec5552e08e3f1b06fe6d045860
2018-07-05 15:42:11 +02:00
arthur.iakab dfb7a82313 Backed out changeset d3978309484a (bug 1480920) For Android build bustages CLOSED TREE 2018-08-09 23:59:05 +03:00
James Willcox d91e5fd1af Bug 1480920 - Bump versions for Android test runner packages r=jchen
MozReview-Commit-ID: GlC0qJCVl4V
2018-08-09 15:05:30 -05:00
Randall Barker e76d5d449a Bug 1477837 - Fix typo in comment documentation for function GeckoRuntimeSettings.getDisplayDensityOverride r=jchen
MozReview-Commit-ID: FqdSLvNJVao
2018-08-09 10:47:20 -07:00
Jonathan Kingston 9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

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

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
Jan Henning 5966b349ea Bug 1476106 - Part 5 - Subscribe PromptService to OrientationChangeListener, too. r=snorp
Now that GeckoScreenOrientation generally offers notifications of screen
orientation changes, the PromptService no longer needs to do its own orientation
tracking and require to be fed orientation changes from each activity using it.

MozReview-Commit-ID: K7KbDsQip7b

--HG--
extra : rebase_source : 72164b6e6b9c8e1a2f31a33db9b8da7d457739a9
2018-08-02 21:17:07 +02:00
Jan Henning 3e9949ac8c Bug 1476106 - Part 4 - Refresh ScreenManager data when detecting orientation changes. r=snorp
As of bug 1475875, cached screen data is now held by Gecko, so
- we no longer need to cache the screen size (retrieval of which can be
  expensive when called en masse, as required e.g. by font inflation) within
  GeckoAppShell, and
- we need to trigger a refresh of that data instead when the activity
  orientation changes.

MozReview-Commit-ID: JsY6sBCcOih

--HG--
extra : rebase_source : a99e4688d6724e5b73b748078f51cf6a6268733d
2018-08-02 22:03:59 +02:00
Jan Henning 93916ece65 Bug 1476106 - Part 3 - Move GeckoScreenOrientation updates into GeckoView. r=snorp
By moving the calls to GeckoScreenOrientation.update() into GeckoView, any app
using a GeckoView will automatically update the screen orientation in Gecko,
too, without any further action being required by the embedding app.

MozReview-Commit-ID: 5s5NEJcuS0p

--HG--
extra : rebase_source : 2b61942672d27453a936174c16f843109c9e36ba
2018-08-02 22:02:09 +02:00
Jan Henning 67cda6c622 Bug 1476106 - Part 2 - Fix setting of mRuntime when restoring GeckoView from savedInstanceState. r=snorp
The call to mSession.transferFrom(ss.session) in the line above also transfers
the window from ss.session into mSession, which means we subsequently won't be
able to retrieve a runtime from ss.session any more, thereby defeating the goal
of calling mRuntime = ss.session.getRuntime().

This case is encountered e.g. when the containing activity is destroyed and sub-
sequently recreated after a configuration change that isn't handled by the app,
e.g. screen rotation in the GeckoView example app.

MozReview-Commit-ID: 5YGskdLZWqw

--HG--
extra : rebase_source : e9b5a7478cfb8a9ad44c149e3ba1532f22ab4086
2018-08-04 15:21:40 +02:00
Jan Henning 6051f1bb91 Bug 1476106 - Part 1 - Make it possible to notify Java listeners from GeckoScreenOrientation, too. r=snorp
Once responsibility for notifying GeckoScreenOrientation of potentially changed
screen orientations moves from GeckoApp into GeckoView, the former will no
longer be able to benefit from the return value of calling GeckoScreen-
Orientation.update(), indicating whether the orientation actually changed or in
fact remained the same.

GeckoApp however requires that information in order to reset/refresh parts of
the UI when the orientation changes, and since GeckoScreenOrientation is already
doing all the work of tracking screen orientation changes, we don't want to have
to partially duplicate those efforts again in GeckoApp.

Instead, we introduce a mechanism for GeckoScreenOrientation to notify
interested parties on the Android app side as well.

The GeckoScreenOrientation.update() call in GeckoApp.onResume() is removed
completely (as opposed to merely removing the refreshChrome() bit) at this stage
already because it is unnecessary. If any screen rotation happened while the
activity was in background, it will receive an onConfigurationChanged() call
anyway before being resumed again.

MozReview-Commit-ID: Ila1evcj8Ud

--HG--
extra : rebase_source : 345c838325264399cc7f7829cc587faf7e9cc756
2018-08-02 21:10:33 +02:00
Jan Henning 64655ee0bb Bug 1476106 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: UHUdrWSIks

--HG--
extra : rebase_source : e0e64d55db9898d3c19ed4342e200d51326b3a30
2018-08-02 20:51:17 +02:00
Jesse Schwartzentruber abc4b27cb4 Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2428

--HG--
extra : moz-landing-system : lando
2018-08-07 17:53:57 +00:00
Csoregi Natalia 0f4d50ff52 Merge inbound to mozilla-central. a=merge 2018-08-08 12:58:36 +03:00
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
Brindusan Cristian 381e833a9d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-08 00:58:40 +03:00
Dylan Roeh 63ca464a8c Bug 1441059 - Make nsILoadURIDelegate async to preserve the order of GeckoSession.loadUri() calls. r=snorp,bz
This alters nsILoadURIDelegate.loadURI() to return a Promise rather than spinning the event loop to synchronously return a boolean, and alters nsDocShell::InternalLoad to allow for those changes by re-calling itself if necessary based on the resolution of the promise.
2018-08-07 13:42:07 -05:00
Kris Maglione c50886cf4e Bug 1480327: Part 2 - Modernize what's left of Log.jsm a bit. r=Mossop
MozReview-Commit-ID: H06rpiZuIEF

--HG--
extra : rebase_source : e10781ffdfaa264370ca95a720298dc3607a079b
2018-08-01 23:23:34 -07:00
Kris Maglione bf729d7e98 Bug 1480327: Part 1 - Get rid of most of Log.jsm. r=Mossop
MozReview-Commit-ID: JVKJtkLhCDS

--HG--
extra : rebase_source : 8b47dbfaa6f279901b99c93c26eee27f719b1d1d
2018-08-01 23:41:01 -07: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
Mark Banner a6ac6f001a Bug 1479726 - Use correct filterXUL property for nsIFilePicker in FilePicker.js. r=snorp
MozReview-Commit-ID: A3G98cC8T4F

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

--HG--
extra : moz-landing-system : lando
2018-08-10 15:41:41 +00:00
Mark Banner 2831895ffc Bug 1479730 - Fix instances of unknown nsISearchEngine.DATA_XML property in test_device_search_engine.html. r=snorp
The 'dataType' parameter to nsISearchEngine.addEngine is now obsolete.

MozReview-Commit-ID: CTe26M0j4xa

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

--HG--
extra : moz-landing-system : lando
2018-08-10 14:08:03 +00:00
Mark Banner de17149c02 Bug 1479727 - Fix the request rejection value in ImageBlockingPolicy to be a valid one. r=snorp
MozReview-Commit-ID: 6mrCgvVZbRG

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

--HG--
extra : moz-landing-system : lando
2018-08-10 14:07:43 +00:00
Andrei Lazar d20f605a33 Bug 1480007 Image not displayed for Welcome screen - Sign in to Sync r=jchen
Fixed the issue where we it was trying to parse a drawable instead of an id from parcelable.

MozReview-Commit-ID: IEgmAT39JiQ

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

--HG--
extra : moz-landing-system : lando
2018-08-08 15:35:56 +00:00
Noemi Erli 74a710cb5e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-04 15:39:02 +03:00