Commit Graph

28312 Commits

Author SHA1 Message Date
Paul Adenot
9936332833 Bug 1531833 - Add a Java method that enables and disable all that is needed to do audio communication with an earpiece. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D21735

--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:34 +00:00
Paul Adenot
55767449c2 Bug 1531833 - Add bluetooth permission to GeckoView. r=snorp
This is needed to open an SCO channel and do proper (low-latency) bluetooth
communication when doing a call using WebRTC, or simply recording local audio in
a web application.

I think this is more of a GeckoView thing, but I'm a bit fuzzy on the
distinction, maybe it's the wrong manifest. I tested using Fennec.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:33 +00:00
Marcos Cáceres
6a3953940b Bug 1534756 - Don't throw exception in ManifestObtainer if a document has no manifest r=snorp
We now return null when the manifest lacks a href or is missing.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 12:46:41 +00:00
Tim Nguyen
5fbe70260e Bug 1543468 - Stop using toolkit netError.css URL on Android. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D26964

--HG--
extra : moz-landing-system : lando
2019-04-10 19:32:20 +00:00
Nick Alexander
a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Petru Lingurar
87f28c4271 Bug 1542776 - Don't show Onboarding if first opened from external link; r=AndreiLazar
..And ignore trying to show it again in future app starts.
This patch resolves a regression and restore the previous behavior.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:57:13 +00:00
Agi Sferro
41ada62a03 Bug 1543396 - Simplify GeckoView's api.txt file. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D26913

--HG--
extra : moz-landing-system : lando
2019-04-10 17:46:09 +00:00
Jonathan Kew
f41c23be63 Bug 1541500 - Apply Android ::selection styling to SVG as well as HTML content. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D25980

--HG--
extra : moz-landing-system : lando
2019-04-10 10:44:30 +00:00
Sebastian Hengst
8c246c9332 Bug 1541017 - Update in-tree bugzilla components which used 'Android Background Services'. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D25765

--HG--
extra : moz-landing-system : lando
2019-04-09 20:46:36 +00:00
Brindusan Cristian
369ab2687e Backed out changeset ea2baf2c9ae7 (bug 1534756) for mochitest failures at test_ManifestProcessor_JSON.html. 2019-04-10 05:29:46 +03:00
Agi Sferro
050acb72a1 Bug 1541609 - [geckoview] Enforce packages in API. r=snorp,esawin
Depends On D26029

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:50:58 +00:00
Agi Sferro
9653a49d3e Bug 1541609 - [geckoview] Add missing nullability annotations. r=esawin
apilint 0.1.9 fixes a bug that was causing us to miss some annotation lints.
This commit fixes all of them before we can upgrade.

Depends On D26028

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:05 +00:00
Agi Sferro
9530edb8c2 Bug 1540790 - [api] Remove all org.mozilla.gecko references. r=snorp
Depends On D26027

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:07 +00:00
Agi Sferro
7928d89a55 Bug 1514238 - Make RuntimeTelemetry.getSnapshot return a JSONObject. r=esawin,snorp
Depends On D26026

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:15 +00:00
Agi Sferro
bc6645103e Bug 1541606 - Add @NonNull to all fields. r=esawin
Depends On D26025

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:17 +00:00
Agi Sferro
8d021a698c Bug 1539639 - [geckoview] Add eslint for indentation and fix existing. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D26025

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:24 +00:00
Marcos Cáceres
585f841266 Bug 1534756 - Don't throw exception in ManifestObtainer if a document has no manifest r=snorp
We now return null when the manifest lacks a href or is missing.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:32:54 +00:00
Nick Alexander
b525daac01 Bug 1540820 - Don't write generated JNI wrappers for every Java-level change. r=agi
This was fallout from Bug 1509572, which moved the "invalidation
smarts" to Gradle. Unfortunately, those smarts are not smart enough:
there are many situations where the annotations might change (a new
method) but where they don't actually change (a new method that isn't
annotated with @JNITarget).

Since we don't want to spend the time to make the "invalidation
smarts" truly smart, we need to bring back this little bit of Bug
1509572.

While we're here, we ensure that there is only one JNI wrapper
generation task for GeckoView and Fennec, regardless of variant.
Right now, those are named like:

- geckoview:generateJNIWrappersForGeneratedWithGeckoBinariesDebug
- app:generateJNIWrappersForFennecWithoutGeckoBinariesDebug

See https://bugzilla.mozilla.org/show_bug.cgi?id=1509539#c1 for some
discussion of these JNI wrapper generation tasks.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:02:44 +00:00
Cosmin Sabou
537bd71d70 Backed out changeset 47d793fbd8cc (bug 1533385) at nalexander's request.
--HG--
extra : rebase_source : 64b1c5ba60037c5aaf2b3eb1b515f78db271a1ae
2019-04-09 19:57:58 +03:00
Mike Hommey
071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
John Lin
2441080e34 Bug 1542440 - Recycle sample directly rather than through CodecProxy. r=jya
mJavaDecoder is invalid after the decoder is shut down and should never
be used.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 09:16:20 +00:00
Avery Berninger
fa0b54611b Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-08 09:15:16 +00:00
Makoto Kato
7b1052018a Bug 1530486 - FFTV+GV can't close Keyboard popup when pressing hardware back r=esawin
`EditorInfo.IME_ACTION_PREVIOUS` is used when clicking `Previous` key on FireTV's software keyboard.  This key on System's WebView closes software keyboard and doesn't generate any keyboard event such as `ENTER`. So we should close it like System's WebView.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 11:31:08 +00:00
Cosmin Sabou
2174454bff Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Avery Berninger
09dac60807 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-06 00:54:52 +00:00
John Lin
e86d5d39e0 Bug 1540036 - p2: Check buffer and codec state before processing buffers. r=jya
HandleOutput() runs on Android binder thread pool and could be preempted
by RemoteDateDecoder task queue. That means ProcessOutput() could be scheduled
after ProcessShutdown() or ProcessFlush(). When that happens, aBuffer is no
long valid and should never be processed, and aSample can be
recycled immediately.
Also assert preconditions of buffers received from Java callbacks.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:01:56 +00:00
John Lin
fa9a0bc673 Bug 1540036 - p1: Handle buffer change for flush(). r=jya
When remote codec executes flush(), it throws away existing buffers:
- memorized buffers are no longer valid and need to be forgotten
- samples returned before flush() will have null buffers and should
  be released back to remote codec immediately.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 20:00:21 +00:00
Randall E. Barker
a7ed7c515a Bug 1531531 - Update GeckoView API implementation to use scrollToVisual() in place of window.scrollTo() r=geckoview-reviewers,botond,esawin,droeh
Differential Revision: https://phabricator.services.mozilla.com/D25491

--HG--
extra : moz-landing-system : lando
2019-04-05 20:09:55 +00:00
Makoto Kato
b2f37b7aad Bug 1474902 - Part 1. Set event time when translating to TAB key r=esawin
Summary:
Since event time isn't set when translating ENTER key to TAB key, comparing
event time hits an assertion.  So event time should be set.

Reviewers: esawin

Reviewed By: esawin

Bug #: 1474902

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

--HG--
extra : rebase_source : 0d00bb0364b77b48645143ceb7eb20cad8663d48
extra : histedit_source : 44be4949d5d196458fa3b5ae3eb056340cf8575d
2019-04-05 16:59:47 +09:00
Makoto Kato
20f0f47eda Bug 1539827 - Use cmd_selectAll instead of nsISelectionController.selectAll on action bar r=geckoview-reviewers,esawin
After bug 676268 is landed, Gecko/Android supports `text/html` mime type on
clipboard. But copy command is sometimes failed after select all is executed.

`nsISelectionContoller.selectAll` is different of `cmd_selectAll`.
Since `cmd_selectAll` that is used on Firefox desktop doesn't select root
element, copy command always works well. So we should use it like desktop
browser on Fennec.

Also, GV already uses cmd_selectAll on action bar, so this is Fennec only.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 15:15:03 +00:00
Thomas Wisniewski
3c0b32cd63 Bug 1539916 - Update about:compat to show the proper URL and fix page-refresh glitches; r=kmag
Update about:compat to show the proper URL and fix page-refresh glitches

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

--HG--
extra : moz-landing-system : lando
2019-04-04 23:47:03 +00:00
Agi Sferro
7409bb591e Bug 1542005 - Fix javadoc error in GeckoSession. r=geckoview-reviewers,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D26219

--HG--
extra : moz-landing-system : lando
2019-04-04 18:56:40 +00:00
Nick Alexander
5fa2d6f5cf Bug 1533385 - Make GeckoView read configuration options from filesystem. r=droeh
The configuration file format is YAML and looks like:
```
prefs:
  foo.bar.boolean: true
  foo.bar.string: "string"
  foo.bar.int: 500
env:
  MOZ_LOG: nsHttp:5
args: [--marionette]
```
By default, if the consuming App is debuggable, GeckoView will read
configuration from `/data/local/tmp/$PACKAGE-geckoview-config.yaml` at
startup.

For consumers (including browsers) that want to allow the underlying
GeckoView to be remote controlled in some way, the
`GeckoRuntimeSettings.Builder.configFilePath()` method allows to avoid
the default behaviour depending on the `android:debuggable` flag.  For
example, release versions of Firefox for Android will want to allow
this configuration when appropriate App-level settings are toggled.

The additional configuration is appended after any existing configuration
methods, e.g., after anything specified using Intent argument extras
or existing `GeckoRuntimeSettings.Builder` methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 14:30:59 +00:00
Ciure Andrei
4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Andreea Pavel
ebce4e7134 Backed out changeset 91b055c0dadb (bug 1533385) for breaking gv-junit at org.mozilla.geckoview.test on a CLOSED TREE 2019-04-04 04:28:47 +03:00
Nick Alexander
b03aa4ed38 Bug 1533385 - Make GeckoView read configuration options from filesystem. r=droeh
The configuration file format is YAML and looks like:
```
prefs:
  foo.bar.boolean: true
  foo.bar.string: "string"
  foo.bar.int: 500
env:
  MOZ_LOG: nsHttp:5
args: [--marionette]
```
By default, if the consuming App is debuggable, GeckoView will read
configuration from `/data/local/tmp/$PACKAGE-geckoview-config.yaml` at
startup.

For consumers (including browsers) that want to allow the underlying
GeckoView to be remote controlled in some way, the
`GeckoRuntimeSettings.Builder.configFilePath()` method allows to avoid
the default behaviour depending on the `android:debuggable` flag.  For
example, release versions of Firefox for Android will want to allow
this configuration when appropriate App-level settings are toggled.

The additional configuration is appended after any existing configuration
methods, e.g., after anything specified using Intent argument extras
or existing `GeckoRuntimeSettings.Builder` methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:51:17 +00:00
Nick Alexander
13610b62ba Bug 1522318 - Wait for Java debugger when MOZ_DEBUG_{CHILD_}WAIT_FOR_JAVA_DEBUGGER. r=esawin
Set `MOZ_DEBUG_WAIT_FOR_JAVA_DEBUGGER=1` in the environment to make the
main (Gecko) process wait for a Java debugger to connect.  This is a
superset of Android Studio's built-in debugging support so it won't be
particularly useful, but perhaps some folks want to use a different
jdwp debugger.

Set `MOZ_DEBUG_CHILD_WAIT_FOR_JAVA_DEBUGGER=suffix` in the environment
to make child processes wait for a Java debugger to connect.  This is
not easy in Android Studio.

The value ":tab" will make any child process with a process name with
suffix ":tab" wait.  N.b., the empty string "" is a suffix of all
process names and thus `MOZ_DEBUG_CHILD_WAIT_FOR_JAVA_DEBUGGER=` makes
all child processes wait.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 16:51:09 +00:00
Dennis Schubert
bf01bf0d29 Bug 1541211 - Remove existing UA overrides from ua-update.json.in. r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D25920

--HG--
extra : moz-landing-system : lando
2019-04-03 14:41:59 +00:00
Matt Brubeck
c8269c5fcc Bug 1529972 - Add GeckoView API to control CSS prefers-color-scheme query. r=esawin,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D24943

--HG--
extra : moz-landing-system : lando
2019-04-01 17:44:39 +00:00
Agi Sferro
0578d20e29 Bug 1538760 - Parse all output from checkstyle. r=nalexander
Previously |mach android checkstyle| would only parse one file output form
checkstyle (the app one).

This change makes it so it parses all files, also it reduces noise by
suppressing most output when the test passes.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 16:20:28 +00:00
Kris Maglione
b7a2002847 Bug 1538643: Fix unintended removal of FxAccountsPush from Android install manifest. r=backout
--HG--
extra : amend_source : 138208b8849e8bb67d1b66af71674c1c061623d0
2019-03-30 13:50:17 -07:00
Kris Maglione
1328b01d50 Bug 1525762: Part 6 - Stop dispatching theme change observers using JSON strings. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24795

--HG--
extra : rebase_source : 67c14ffc0cc46c041617ae04d39107dd66949f88
extra : histedit_source : 51973c82f0014767c2ae947a00cdb7afe9478c35
2019-03-25 13:52:01 -07:00
Kris Maglione
6d78820c90 Bug 1525762: Part 3e - Get rid of LWTManager theme management code. r=aswan
--HG--
extra : rebase_source : 1dc3cc062f7ef0ce8c80822251b31dbf9cc8f133
extra : histedit_source : 0beb1de14bd4603fa34e7fa8a7178582e3e7d71f
2019-02-08 14:48:54 -08:00
Noemi Erli
73e1da0906 Merge inbound to mozilla-central. a=merge 2019-03-30 11:32:42 +02:00
Chris Manchester
324a762ea1 Bug 1535364 - Turn off jarlog re-ordering for Android PGO due to problems publishing APKs. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D25492

--HG--
extra : moz-landing-system : lando
2019-03-30 02:09:18 +00:00
Oana Pop Rus
a16538cfd6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-30 00:11:11 +02:00
L10n Bumper Bot
4ecd91e12a no bug - Bumping Fennec l10n changesets r=release a=l10n-bump DONTBUILD
as -> removed
en-ZA -> removed
mai -> removed
or -> removed
2019-03-29 22:00:30 +00:00
Oana Pop Rus
a759d6f62b Merge inbound to mozilla-central. a=merge 2019-03-29 23:54:39 +02:00
Frederik Braun
092461b9a3 Bug 1512511 - Remove extra-privileges for input.mozilla.org. r=Gijs,MattN
There are domains that we give extra permissions.
Those should be hosted and operated by Firefox.
input.mozilla.org isn't and it also doesnt use extra permissions anymore.

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

--HG--
extra : rebase_source : be9879b6f89ee6979975e697e052220fc839785e
extra : amend_source : 8a45cbbeadcda306313034ac22d6f43612780e3a
2019-03-29 12:47:21 -07:00
Francesco Lodolo (:flod)
7fbff6df10 Bug 1535300 - Remove locales from Nightly and Beta build of Fennec (as, en-ZA, mai, or) r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25362

--HG--
extra : moz-landing-system : lando
2019-03-29 17:01:37 +00:00
Emily Toop
d75296da81 Bug 1532582 - Display autofill popup in correct location.
This autofill popover was being displayed in the incorrect place because the display rect we were providing to the `AutofillManager` was the rect for the `GeckoView` and not the rect for the HTML element that the autofill popover was relating to.

1. Add view dimensions to info passed to autofill in `GeckoViewAutoFill`.
2. Use those view dimensions to calculate the correct location on the screen using `pageToScreenMatrix` in `GeckoSession`.

The resulting locations were incorrect, as the values used by `pageToScreenMatrix` were out of date. The `GeckoSession` was only notified about updated metrics during first composite, which meant that when the metrics changed during zoom and scroll on soft keyboard presentation, `GeckoSession` was unaware of it.

3. Update `GeckoSession` with new screen metrics when they change and not only during first composite.

Despite this change ensuring that `GeckoSession` always had the correct values for the viewport size and location, the request to provide the autofill location was made before the zoom and scroll was complete, meaning that even then out of date values were used during the calculation. The intial solution was to fire an event once zoom was complete, but despite this event being fired after the new screen size had been calculcated in `AsyncCompositionManager`, `GeckoSession` did not receive the values until after the event had been processed (the calls were out by 0.024ms).

5. Call new method `onScreenMetricsUpdated` inside `SessionTextInput` after screen metrics have been updated. Call `AutofillManager#notifyViewEntered` from this function.

This was not my preferred solution to this, but timing issues meant I could not find/think of an alternative way of delaying the calculation of the autofill popover location until after `GeckoSession` had been updated.

This patch currently fixes things on GV apps. Occasionally, on Fennec, the autofill view is out of alignment slightly. This needs further work.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:25:42 +00:00
Dorel Luca
a91d673cd5 Backed out changeset b6f5942c42bb (bug 1532582) for Eslint failure. CLOSED TREE 2019-03-29 16:37:21 +02:00
Emily Toop
65bf84e5c6 Bug 1532582 - Display autofill popup in correct location. r=geckoview-reviewers,snorp,kats
This autofill popover was being displayed in the incorrect place because the display rect we were providing to the `AutofillManager` was the rect for the `GeckoView` and not the rect for the HTML element that the autofill popover was relating to.

1. Add view dimensions to info passed to autofill in `GeckoViewAutoFill`.
2. Use those view dimensions to calculate the correct location on the screen using `pageToScreenMatrix` in `GeckoSession`.

The resulting locations were incorrect, as the values used by `pageToScreenMatrix` were out of date. The `GeckoSession` was only notified about updated metrics during first composite, which meant that when the metrics changed during zoom and scroll on soft keyboard presentation, `GeckoSession` was unaware of it.

3. Update `GeckoSession` with new screen metrics when they change and not only during first composite.

Despite this change ensuring that `GeckoSession` always had the correct values for the viewport size and location, the request to provide the autofill location was made before the zoom and scroll was complete, meaning that even then out of date values were used during the calculation. The intial solution was to fire an event once zoom was complete, but despite this event being fired after the new screen size had been calculcated in `AsyncCompositionManager`, `GeckoSession` did not receive the values until after the event had been processed (the calls were out by 0.024ms).

5. Call new method `onScreenMetricsUpdated` inside `SessionTextInput` after screen metrics have been updated. Call `AutofillManager#notifyViewEntered` from this function.

This was not my preferred solution to this, but timing issues meant I could not find/think of an alternative way of delaying the calculation of the autofill popover location until after `GeckoSession` had been updated.

This patch currently fixes things on GV apps. Occasionally, on Fennec, the autofill view is out of alignment slightly. This needs further work.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 12:49:26 +00:00
Petru Lingurar
ca307a61f1 Bug 1506231 - Top Sites tiles will show only one site for the same base url; r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D24487

--HG--
extra : moz-landing-system : lando
2019-03-29 07:57:51 +00:00
Csoregi Natalia
c426d9feea Merge mozilla-central to autoland. CLOSED TREE 2019-03-29 07:28:47 +02:00
L10n Bumper Bot
ce03c323ae no bug - Bumping Fennec l10n changesets r=release a=l10n-bump DONTBUILD
bn -> default
bn-BD -> removed
bn-IN -> removed
2019-03-29 05:00:29 +00:00
James Willcox
73c7980cb9 Bug 1536044 - Fully disable jacoco builds for Android r=agi
Differential Revision: https://phabricator.services.mozilla.com/D25216

--HG--
extra : moz-landing-system : lando
2019-03-28 20:26:45 +00:00
Geoff Brown
322688e83f Bug 1519580 - Skip test_session_scroll_visual_viewport.html on android/pgo; r=jmaher
Skip mochitest-chrome test failing frequently on android/pgo. This directory of tests
only runs on Android 4.3, so the manifest annotation is simple.

Discussed in bug; see comment 17.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 19:01:32 +00:00
John Lin
364290c746 Bug 1308405 - p5: Memorize sample buffers in CodecProxy. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24591

--HG--
extra : moz-landing-system : lando
2019-03-28 18:06:25 +00:00
John Lin
c668fd7d06 Bug 1308405 - p4: Separate buffer from sample object. r=snorp
To prevent new buffer object from being created per frame, either
Sample.CREATOR has to keep track of all buffers from every remote codec,
or the client must memorize seen buffers and avoid asking for them again
and again. The former saves client code from modifications but complicates
the implementation of Sample, a data structure class, while the latter
requires changes to client code but avoid overcomplicating Sample.CREATOR
implementation.

The 2nd approach is taken:
- move SampleBuffer out of Sample, and update clients accordingly
- add a new IPC method for clients to get the buffers only when needed

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

--HG--
extra : moz-landing-system : lando
2019-03-28 18:06:23 +00:00
John Lin
529784a956 Bug 1308405 - p3: Use sample buffer class directly. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24589

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SharedMemBuffer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SampleBuffer.java
extra : moz-landing-system : lando
2019-03-28 18:06:19 +00:00
John Lin
385270e9ab Bug 1308405 - p2: Nodify and recycle sample objects. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24588

--HG--
extra : moz-landing-system : lando
2019-03-28 18:05:08 +00:00
James Willcox
781081cb06 Bug 1538702 - Allow recreating GeckoSession.SessionState from String r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D24709

--HG--
extra : moz-landing-system : lando
2019-03-28 16:52:42 +00:00
Brindusan Cristian
b2d1b1aad3 Backed out changeset fc86bfeadfde (bug 1538702) as requested by snorp on irc for causing a merge conflict. 2019-03-28 18:52:37 +02:00
James Willcox
af5af0a0d1 Bug 1538702 - Allow recreating GeckoSession.SessionState from String r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D24709

--HG--
extra : moz-landing-system : lando
2019-03-28 16:42:29 +00:00
Francesco Lodolo (:flod)
df64b4e33f Bug 1538734 - Add Bengali (bn) to single and multilocales builds, remove bn-BD and bn-IN r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D24722

--HG--
extra : moz-landing-system : lando
2019-03-28 13:13:26 +00:00
Francesco Lodolo (:flod)
f26673372a Bug 1539620 - Add a brand product string that doesn't change across different channels r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D25193

--HG--
extra : moz-landing-system : lando
2019-03-28 11:44:41 +00:00
Oana Pop Rus
226e6c59d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 12:23:56 +02:00
Oana Pop Rus
47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Botond Ballo
cba0362f99 Bug 1538762 - Ensure the Android session store respects the layout scroll range. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25144

--HG--
extra : moz-landing-system : lando
2019-03-28 00:38:19 +00:00
Noemi Erli
cfaf79673c Backed out changeset e5117d2f9311 (bug 1533051) for Android xpcshell failures CLOSED TREE 2019-03-28 01:33:00 +02:00
Ting-Yu Lin
0dbfbb7dff Bug 1539256 - Remove enabling AccessibleCaret pref in Android robocop test. r=snorp
Bug 1493317 enables AccessibleCaret in unit tests. No need to manually
flip the pref.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:17:03 +00:00
Andrew Swan
e5f560a07b Bug 1537723 Enable LWT updates on Android r=mixedpuppy
Also ensure that LightweightThemeManager.updateOneTheme() returns
even if the update request fails.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 17:07:01 +00:00
Nick Alexander
3dce09e76f Bug 1533051 - Package GeckoView prefs at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put preferences into
those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 17:35:26 +00:00
Botond Ballo
109671c99f Bug 1531057 - Fix eslint failure due to trailing whitespace (CLOSED TREE).
Differential Revision: https://phabricator.services.mozilla.com/D25136

--HG--
extra : moz-landing-system : lando
2019-03-27 20:54:08 +00:00
Agi Sferro
337193c3e5 Bug 1536929 - [geckoview] Use const when possible and enforce it. r=geckoview-reviewers,esawin
Generated with ./mach eslint mobile/android/modules/geckoview --fix

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

--HG--
extra : moz-landing-system : lando
2019-03-27 20:56:16 +00:00
Botond Ballo
df3b5e6d4a Bug 1531057 - Add a test to check that session history respects the layout scroll range. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23753

--HG--
extra : moz-landing-system : lando
2019-03-27 20:20:05 +00:00
Eugen Sawin
b185068750 Bug 1530050 - [1.0] Add recommended and strict content blocking categories selections for safer app defaults. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D24967

--HG--
extra : moz-landing-system : lando
2019-03-27 14:39:11 +00:00
Nick Alexander
9890db9633 Bug 1533704 - Don't make GeckoView's remote debugging setting control Marionette. r=snorp
We really want GeckoView's single remote debugigng setting to
determine whether the engine can be remote controlled, but we're not
quite there yet.  The devtools use an abstract UNIX socket for this
purpose, but Marionette uses a TCP socket that defaults to port 2828,
and that means we see cross-App clashes for that port.

Functionally this means that enabling Marionette reverts to the "old
method": either pass the "--marionette" command line argument or set
the `MOZ_MARIONETTE=1` environment variable to enable.  Callers remain
responsible for ensuring that the Marionette port is available.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 20:28:14 +00:00
Kris Maglione
e7796b70b4 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781

--HG--
extra : rebase_source : cfd98054b2098bc4fee6eeea0736bcd42a036bcf
2019-02-05 21:29:58 -08:00
Csoregi Natalia
888d83038c Merge mozilla-central to autoland. CLOSED TREE 2019-03-26 19:45:08 +02:00
Csoregi Natalia
d105b005e8 Merge inbound to mozilla-central. a=merge 2019-03-26 19:43:22 +02:00
Francesco Lodolo (:flod)
c648004583 Bug 1535288 - Set up productization for Bengali (bn) on Firefox desktop and Firefox for Android r=mkaply
- Use Bengali (bn-BD) as base
- Keep amazon-in on Desktop (from bn-IN)
- Remove rediff (from bn-IN)

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

--HG--
extra : moz-landing-system : lando
2019-03-26 12:09:26 +00:00
Ian Moody
50dc489a10 Bug 1538766 - mobile/ manual ESLint no-throw-literal fixes. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D24732

--HG--
extra : moz-landing-system : lando
2019-03-26 08:29:54 +00:00
Ian Moody
2fb24e7073 Bug 1538766 - mobile/ automated ESLint no-throw-literal fixes. r=petru
Result of running:
$ mach eslint -funix mobile/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-03-26 08:29:37 +00:00
Makoto Kato
8986b3b0e4 Bug 1537885 - Use cmd_copy for copy command r=geckoview-reviewers,snorp
Although I change to use editor by previous fix of bug 676268, it is not
good for non-editable content. cmd_copy can support editable and non-editable.

GV already uses cmd_copy for this.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:34:07 +00:00
Brindusan Cristian
8d646b09cd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-26 02:28:46 +02:00
Eugen Sawin
51630bd49f Bug 1530789 - [4.0] Fix style. r=me 2019-03-25 17:29:37 +01:00
Randall Barker
c98140dbeb Bug 1537964 - Call bindService() with BIND_IMPORTANT r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24418

--HG--
extra : moz-landing-system : lando
2019-03-25 14:29:54 +00:00
Eugen Sawin
c8131a108b Bug 1530789 - [3.0] Update API changelog. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D24715
2019-03-25 16:53:12 +01:00
Eugen Sawin
9e20531da6 Bug 1530789 - [2.0] Initialize the SafeBrowsing module only in the parent process. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D21422
2019-03-25 16:53:12 +01:00
Eugen Sawin
3c7d2391d5 Bug 1530789 - [1.2] Extend Content Blocking API: cryptomining protection. r=geckoview-reviewers,dimi,snorp,Ehsan
Tags: #secure-revision

Differential Revision: https://phabricator.services.mozilla.com/D21410
2019-03-25 16:53:11 +01:00
Botond Ballo
9a387fad8c Bug 1531535 - Expose the ability to do a visual smooth scroll in nsIDOMWindowUtils. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24555

--HG--
extra : moz-landing-system : lando
2019-03-23 20:23:54 +00:00
shindli
3234d0805e Backed out 2 changesets (bug 1530789) for linting failures on Android
Backed out changeset 2038ef43f89a (bug 1530789)
Backed out changeset 3f03780957a4 (bug 1530789)
2019-03-23 12:36:33 +02:00
Dennis Schubert
957d469f60 Bug 1536767 - Import WebCompat GoFaster 4.1.0 sources. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D24150

--HG--
extra : moz-landing-system : lando
2019-03-22 18:21:23 +00:00
Eugen Sawin
2276021d2f Bug 1530789 - [2.0] Initialize the SafeBrowsing module only in the parent process. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D21422

--HG--
extra : moz-landing-system : lando
2019-03-22 20:46:04 +00:00
Eugen Sawin
d94b0ddbac Bug 1530789 - [1.0] Extend Content Blocking API: cryptomining protection. r=geckoview-reviewers,dimi,snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21410

--HG--
extra : moz-landing-system : lando
2019-03-22 20:44:55 +00:00
Vlad Baicu
033681c09c Bug 1536866 - Hide enter guest session option from the menu. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D24212

--HG--
extra : moz-landing-system : lando
2019-03-22 06:51:51 +00:00
Dylan Roeh
57859e9bc1 Bug 1463878 - Update GeckoView API to reflect new session storage and remove old API and associated dead code. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D23697

--HG--
extra : moz-landing-system : lando
2019-03-22 00:51:13 +00:00
Dylan Roeh
814b5249c6 Bug 1463878 - Add SessionStateAggregator.js (mostly lifted from desktop code with modifications to reflect GV's needs) and code to send incremental session storage updates to Java. r=snorp,JanH
Differential Revision: https://phabricator.services.mozilla.com/D23696

--HG--
extra : moz-landing-system : lando
2019-03-22 00:51:11 +00:00
Oana Pop Rus
cacc0b68c1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-22 00:58:41 +02:00
Coroiu Cristina
8460161d60 Backed out 2 changesets (bug 1463878) for ESlint and checkstyle failure on a CLOSED TREE
Backed out changeset 2cc833baea24 (bug 1463878)
Backed out changeset 11415a3e72f6 (bug 1463878)
2019-03-22 00:18:04 +02:00
Dylan Roeh
889b7b818e Bug 1463878 - Update GeckoView API to reflect new session storage and remove old API and associated dead code. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D23697

--HG--
extra : moz-landing-system : lando
2019-03-21 21:29:41 +00:00
Dylan Roeh
0ed4fe6808 Bug 1463878 - Add SessionStateAggregator.js (mostly lifted from desktop code with modifications to reflect GV's needs) and code to send incremental session storage updates to Java. r=snorp,JanH
Differential Revision: https://phabricator.services.mozilla.com/D23696

--HG--
extra : moz-landing-system : lando
2019-03-21 21:29:33 +00:00
Matt Brubeck
db15c0c9c7 Bug 1527778 - Fix reloading of content modules on procses switching. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24102

--HG--
extra : moz-landing-system : lando
2019-03-21 16:25:50 +00:00
Eitan Isaacson
05665102b2 Bug 1536123 - Move virtual cursor to caret offset. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D23911

--HG--
extra : moz-landing-system : lando
2019-03-21 16:20:51 +00:00
John Lin
7dd2bbf7e9 Bug 1499224 - p2: Keep remote decoder process alive when client record is good. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D23738

--HG--
extra : moz-landing-system : lando
2019-03-21 15:49:23 +00:00
John Lin
61cf142d51 Bug 1499224 - p1: keep record of active remote objects in MediaManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D23736

--HG--
extra : moz-landing-system : lando
2019-03-21 15:49:36 +00:00
Olli Pettay
6143d2b90d Bug 1536781, use the same paint suppression delay on mobile and desktop, r=emilio
Differential Revision: https://phabricator.services.mozilla.com//D24804

--HG--
extra : rebase_source : 5fcdd643e253dcad6ab2f0c94ed3addd48724249
2019-03-25 14:44:56 +02:00
shindli
12c0629a98 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : js/src/tests/non262/fields/basic.js => js/src/jit-test/tests/fields/basic.js
rename : js/src/tests/non262/fields/literal.js => js/src/jit-test/tests/fields/literal.js
rename : js/src/tests/non262/fields/mixed_methods.js => js/src/jit-test/tests/fields/mixed_methods.js
rename : js/src/tests/non262/fields/quirks.js => js/src/jit-test/tests/fields/quirks.js
2019-03-21 06:36:37 +02:00
Brindusan Cristian
3d5d7a9315 Backed out 2 changesets (bug 1484640) for ESlint failure at browser.js. CLOSED TREE
Backed out changeset 54f421232d08 (bug 1484640)
Backed out changeset 5914426902ac (bug 1484640)
2019-03-20 21:24:22 +02:00
championshuttler
e2970d86c2 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Manual Changes). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D22891

--HG--
extra : moz-landing-system : lando
2019-03-16 13:13:00 +00:00
championshuttler
ff578b9c57 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Automatic Changes). r=snorp
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:00:03 +00:00
Eitan Isaacson
ec2f69700f Bug 1535701 - Followup to fix checkstyle and eslint.
Differential Revision: https://phabricator.services.mozilla.com/D24232

--HG--
extra : moz-landing-system : lando
2019-03-20 18:17:23 +00:00
Eitan Isaacson
65c8912aaf Bug 1535701 - Focus GeckoView when interacting with TalkBack. r=geckoview-reviewers,snorp
When TalkBack receives a focus event, it redirects the accessibility focus (the green cursor) to the focused element. This is an important driver for the screen reader experience.

Since the focus mode of the GeckoView is "focusable in touch", the focused state of the view is very arbitrary when using TalkBack since the user never directly touches the view. The only way for the view to regain focus is if a control or link in the content is interacted with.

TalkBack user, who is explicitly interacting with the webview/geckoview would expect it to have focus, and to have the accessibility focus redirected in the page in the case of script-driven focus events.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:48:40 +00:00
Makoto Kato
ba0df52fa8 Bug 676268 - Part 2. Use editor API instead of accessing clipboard directly. r=geckoview-reviewers,snorp
Summary:
Actually, Fennec accesses clipboard directly when using action bar. To allow
`text/html` mime type, we should use editor API instead.

Also, Fennec doesn't fire clipboard event for copy and cut since it doesn't
use editor API (or `cmd_*` command). So we will be fixed by using editor API.

GeckoView uses `cmd_*` command, so this doesn't occur on GV.

Reviewers: #geckoview-reviewers, snorp

Reviewed By: #geckoview-reviewers, snorp

Bug #: 676268

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

--HG--
extra : rebase_source : 57bdc8c3868124b96baf3866b54bac91d3742131
2019-03-20 14:44:00 +09:00
Makoto Kato
ae43a8cf0a Bug 676268 - Part 1. Support text/html on Android clipboard backend. r=geckoview-reviewers,snorp
Summary: Actually, we only support `text/unicode` mime type on Android clipboard backend.  But Android API 16+ supports `text/html`, so we should support this type since Chrome/Blink already supports it.

Reviewers: #geckoview-reviewers, snorp

Reviewed By: #geckoview-reviewers, snorp

Bug #: 676268

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

--HG--
extra : rebase_source : 17ef0aa06b83b812bb9bccfab93a72e0b37f9652
2019-03-20 14:47:19 +09:00
Andreea Pavel
dd962029e9 Backed out 2 changesets (bug 676268) for failing android checkstyle
Backed out changeset 85d03febdb70 (bug 676268)
Backed out changeset cfa2c6443a6d (bug 676268)

--HG--
extra : rebase_source : 603eb3f1d13a11a98e2f92c3fc41c92d408cec6d
2019-03-20 07:16:34 +02:00
Makoto Kato
7bbf5f37a7 Bug 676268 - Part 2. Use editor API instead of accessing clipboard directly r=geckoview-reviewers,snorp
Actually, Fennec accesses clipboard directly when using action bar. To allow
`text/html` mime type, we should use editor API instead.

Also, Fennec doesn't fire clipboard event for copy and cut since it doesn't
use editor API (or `cmd_*` command). So we will be fixed by using editor API.

GeckoView uses `cmd_*` command, so this doesn't occur on GV.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 15:37:51 +00:00
Makoto Kato
61804ba4b3 Bug 676268 - Part 1. Support text/html on Android clipboard backend r=geckoview-reviewers,snorp
Actually, we only support `text/unicode` mime type on Android clipboard backend.  But Android API 16+ supports `text/html`, so we should support this type since Chrome/Blink already supports it.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 15:35:54 +00:00
Mike Shal
03cc695f08 Bug 632954 - Add Android PGO mozconfigs; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22819

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:43 +00:00
Ian Moody
167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Hiroyuki Ikezoe
36b25f6fb1 Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-19 10:10:52 +00:00
Coroiu Cristina
3a2e8a75c8 Backed out 2 changesets (bug 1532850) for apilint failure on a CLOSED TREE
Backed out changeset da87a2079285 (bug 1532850)
Backed out changeset d44836af07e0 (bug 1532850)
2019-03-19 12:01:40 +02:00
Hiroyuki Ikezoe
8fb919be3c Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-19 09:43:41 +00:00
Coroiu Cristina
45aa39f3f6 Backed out 2 changesets (bug 1532850) for Android bustage on a CLOSED TREE
Backed out changeset d32559ed093f (bug 1532850)
Backed out changeset 439686eac8d6 (bug 1532850)
2019-03-19 11:20:24 +02:00
Thomas Wisniewski
3e39030d2f Bug 1535479 - Have Report Site Issue detect the FastClick JS library; r=aswan
Have Report Site Issue detect the FastClick JS library

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:44:51 +00:00
Hiroyuki Ikezoe
16874aaaff Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D22272

--HG--
extra : moz-landing-system : lando
2019-03-18 22:57:44 +00:00
Edouard Oger
9928a5bda4 Bug 1534290 p3 - Use correct search criteria to find original login. r=nalexander
Depends on D23234

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

--HG--
extra : moz-landing-system : lando
2019-03-18 16:23:04 +00:00
Edouard Oger
5092501ede Bug 1534290 p2 - Touch timePasswordChanged on password modification. r=nalexander
Depends on D23233

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

--HG--
extra : moz-landing-system : lando
2019-03-18 16:22:14 +00:00
Edouard Oger
ad5d28eee0 Bug 1534290 p1 - Make login item host read-only. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D23233

--HG--
extra : moz-landing-system : lando
2019-03-18 16:22:02 +00:00
Gurzau Raul
b0e75ab0e1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-18 23:44:31 +02:00
Brindusan Cristian
7655032f91 Backed out changeset f16aa91c7d4c (bug 1534802) for android ccov bustages. a=backout 2019-03-18 15:38:01 +02:00
Sylvestre Ledru
2dc83b1ba4 Bug 1535949 - browser.js: Fix typo in the identifier r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23812

--HG--
extra : moz-landing-system : lando
2019-03-17 20:41:46 +00:00
James Willcox
f05a94d5e7 Bug 1534802 - Don't enable code coverage for gradle-dependencies job r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D23739

--HG--
extra : moz-landing-system : lando
2019-03-15 22:24:02 +00:00
Ting-Yu Lin
7f6824aa03 Bug 1493317 Part 2 - Enable AccessibleCaret in unit tests. r=jchen
And use correct AccessibleCaret preference to disable it individually in tests.

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

--HG--
extra : moz-landing-system : lando
2019-03-16 07:38:34 +00:00
Narcis Beleuzu
7226cefbfc Backed out changeset 189c2c75a5ae (bug 1534802) for causing TL bustages 2019-03-15 23:54:51 +02:00
James Willcox
4f634bb55a Bug 1440601 - Disable TabSource on Android r=petru
Differential Revision: https://phabricator.services.mozilla.com/D23575

--HG--
extra : source : d83d3c63a428e137fcd18b8c4b1905c79f97d703
2019-03-15 09:00:38 +00:00
Narcis Beleuzu
d37537b6a1 Backed out changeset d83d3c63a428 (bug 1440601) for causing TL bustages. 2019-03-15 23:48:05 +02:00
Agi Sferro
82fc0b279b Bug 1512274 - Enable Checkstyle for GeckoView. r=geckoview-reviewers,nalexander,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23692

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:57 +00:00
Agi Sferro
cc987caa5a Bug 1512274 - [geckoview] Remove unused imports. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23691

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:47 +00:00
Agi Sferro
54ed5286e9 Bug 1512274 - [geckoview] Avoid star imports. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23690

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:43 +00:00
Agi Sferro
568a8b3da0 Bug 1512274 - [geckoview] Fix indentation. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23689

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:34 +00:00
Agi Sferro
2dd021c9ae Bug 1512274 - [geckoview] LeftCurly checkstyle fixes r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23688

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:24 +00:00
Agi Sferro
5ab4f6d887 Bug 1512274 - [geckoview] Make all private member variable be mCamelCase. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23687

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:15 +00:00
Agi Sferro
d2c60bfc54 Bug 1512274 - [geckoview] Make all local variables be lowerCamelCase. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23686

--HG--
extra : moz-landing-system : lando
2019-03-15 21:21:03 +00:00
Agi Sferro
2cb8f2bc6f Bug 1512274 - [geckoview] Make all constants actually final. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23685

--HG--
extra : moz-landing-system : lando
2019-03-15 21:20:54 +00:00
Agi Sferro
117e642330 Bug 1512274 - [geckoview] Make all argument names be lowerCamelCase. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23684

--HG--
extra : moz-landing-system : lando
2019-03-15 21:20:44 +00:00
Agi Sferro
99ddd29089 Bug 1512274 - [geckoview] Add final to all methods in GeckoView. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23683

--HG--
extra : moz-landing-system : lando
2019-03-15 21:20:35 +00:00
Agi Sferro
789b04a378 Bug 1512274 - [geckoview] Don't change value of method arguments. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23682

--HG--
extra : moz-landing-system : lando
2019-03-15 21:20:20 +00:00
Narcis Beleuzu
1e8739f8d7 Backed out 11 changesets (bug 1512274) for TL bustages. CLOSED TREE
Backed out changeset 9f34d0075a73 (bug 1512274)
Backed out changeset 6ca9fc4956d0 (bug 1512274)
Backed out changeset 9a9d3c9c124a (bug 1512274)
Backed out changeset 670e07131f14 (bug 1512274)
Backed out changeset 161731389a46 (bug 1512274)
Backed out changeset c34445b1db88 (bug 1512274)
Backed out changeset 60897ab00574 (bug 1512274)
Backed out changeset 5d02f27fe174 (bug 1512274)
Backed out changeset 380cdbe5557c (bug 1512274)
Backed out changeset 58642fa9c95b (bug 1512274)
Backed out changeset 3812d6760379 (bug 1512274)
2019-03-15 21:11:47 +02:00
Botond Ballo
dafe6fcdd9 Bug 1137890 - Let containerless scrolling ride the trains. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D23370

--HG--
extra : moz-landing-system : lando
2019-03-15 18:12:27 +00:00
Agi Sferro
e6c5f1c0b2 Bug 1512274 - Enable Checkstyle for GeckoView. r=geckoview-reviewers,nalexander,snorp
Depends on D23691

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:10:27 +00:00
Agi Sferro
1b01ddf44b Bug 1512274 - [geckoview] Remove unused imports. r=geckoview-reviewers,snorp
Depends on D23690

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:10:05 +00:00
Agi Sferro
c42ac4fa46 Bug 1512274 - [geckoview] Avoid star imports. r=geckoview-reviewers,snorp
Depends on D23689

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:09:52 +00:00
Agi Sferro
2e05ec76a1 Bug 1512274 - [geckoview] Fix indentation. r=geckoview-reviewers,snorp
Depends on D23688

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:09:14 +00:00
Agi Sferro
042e67c91f Bug 1512274 - [geckoview] LeftCurly checkstyle fixes r=geckoview-reviewers,snorp
Depends on D23687

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:51 +00:00
Agi Sferro
bd18c381ab Bug 1512274 - [geckoview] Make all private member variable be mCamelCase. r=geckoview-reviewers,snorp
Depends on D23686

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:49 +00:00
Agi Sferro
3317685af3 Bug 1512274 - [geckoview] Make all local variables be lowerCamelCase. r=geckoview-reviewers,snorp
Depends on D23685

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:42 +00:00
Agi Sferro
b42d737270 Bug 1512274 - [geckoview] Make all constants actually final. r=geckoview-reviewers,snorp
Depends on D23684

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:40 +00:00
Agi Sferro
176ef70e3b Bug 1512274 - [geckoview] Make all argument names be lowerCamelCase. r=geckoview-reviewers,snorp
Depends on D23683

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:38 +00:00
Agi Sferro
287a835f12 Bug 1512274 - [geckoview] Add final to all methods in GeckoView. r=geckoview-reviewers,snorp
Depends on D23682

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

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:36 +00:00
Agi Sferro
8a7237ff44 Bug 1512274 - [geckoview] Don't change value of method arguments. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D23682

--HG--
extra : moz-landing-system : lando
2019-03-15 18:08:34 +00:00
Eitan Isaacson
c35dbb6950 Bug 1479042 - Handle text insertion and name change events as live regions and announce. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D21612

--HG--
extra : moz-landing-system : lando
2019-03-15 23:10:42 +00:00
James Willcox
35c2a7e52a Bug 1534802 - Remove unused GeckoView delegate overrides in Fennec r=petru
Differential Revision: https://phabricator.services.mozilla.com/D23226

--HG--
extra : moz-landing-system : lando
2019-03-15 08:50:11 +00:00
James Willcox
6d80f1df21 Bug 1440601 - Disable TabSource on Android r=petru
Differential Revision: https://phabricator.services.mozilla.com/D23575

--HG--
extra : moz-landing-system : lando
2019-03-15 09:00:38 +00:00
Henrik Skupin
635199bb7b Bug 1530979 - Send custom "marionette-startup-requested" observer notification to start Marionette in Fennec. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D23488

--HG--
extra : moz-landing-system : lando
2019-03-15 12:51:07 +00:00
Vlad Baicu
acdf328bb6 Bug 1531047 - Part 2: Refactor TabQueue to a foreground service. r=JanH
Refactored the TabQueueService to be a foreground service from Android O
onwards. The service now uses a foreground notification that briefly informs
the user that a new tab is being added to the queue.

Depends on D23528

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

--HG--
extra : moz-landing-system : lando
2019-03-15 11:21:29 +00:00
Vlad Baicu
02e4817753 Bug 1531047 - Part 1: Some code cleanup. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D23528

--HG--
extra : moz-landing-system : lando
2019-03-15 11:21:02 +00:00
Razvan Maries
b5f0d05bc9 Merge mozilla-inbound to mozilla-central a=merge 2019-03-15 05:40:21 +02:00
Razvan Maries
1cfbd79a4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-03-14 23:50:44 +02:00
Agi Sferro
3960667956 Bug 1535013: [geckoview] Add default impls to all interfaces. r=snorp
This also upgrades apilint to 0.1.8 to enforce that all interfaces have default
impls.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:48:57 +00:00
Dorel Luca
2d22ab9308 Backed out 3 changesets (bug 1522451) for eslint failure
Backed out changeset bd7007ecd0db (bug 1522451)
Backed out changeset d291cd16ef76 (bug 1522451)
Backed out changeset 6fbcde5da1c1 (bug 1522451)
2019-03-14 18:07:15 +02:00
Andreea Pavel
d6a864b0c0 Backed out 4 changesets (bug 1533840, bug 1522451) for failing dom/manifest/test/test_ManifestProcessor_background_color.html on a CLOSED TREE
Backed out changeset 4fd7ce83efe1 (bug 1533840)
Backed out changeset 5a892aa56e37 (bug 1522451)
Backed out changeset 2ddf151f9535 (bug 1522451)
Backed out changeset 49ebb69e8893 (bug 1522451)
2019-03-14 23:02:15 +02:00
James Willcox
62668b86fc Bug 1533840 - Add convenience methods for dealing with WebRequest/WebResponse bodies r=geckoview-reviewers,agi,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D22748

--HG--
extra : moz-landing-system : lando
2019-03-14 20:18:33 +00:00
Petru Lingurar
23317f68c0 Bug 1534875 - Remove SearchWidgetConfigurationActivity from search's appwidget-provider; r=VladBaicu
This was a leftover from an initial implementation which needed to track
certain events related to the user adding the search widget.
Otherwise it is not needed as we don't actually expose any widget settings to
be configured by the user before adding it.
Turns out this Activity would actually mess with our PendingIntents which would
not fire for when tapping search widget's elements.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 17:13:32 +00:00
James Willcox
98778b5ae2 Bug 1533425 - Look for architecture-specific greprefs.js files on Android r=njn
We want to publish a multi-architecture AAR for GeckoView which includes
a single omni.ja, but we archicture-specific changes in greprefs.js that
prevent this from working. This patch causes us to try to read an
architecture-specific greprefs.js first, which will be provided by the
packaging process for the fat AAR.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 19:37:03 +00:00
James Willcox
1b12f90b4e Bug 1522451 - Add ContentDelegate.onWebAppManifest() r=geckoview-reviewers,agi,droeh
This delivers a parsed and validated Web App Manifest to the
application, if present, during the page load process.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 19:18:01 +00:00
James Willcox
31161b8c36 Bug 1522451 - Add asset support to HttpBin r=geckoview-reviewers,agi
This lets us request, e.g. '/assets/www/hello.html'.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:45:04 +00:00
James Willcox
7f67f3cebb Bug 1522451 - Add ContentDelegate.onWebAppManifest() r=geckoview-reviewers,agi,droeh
This delivers a parsed and validated Web App Manifest to the
application, if present, during the page load process.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 15:32:57 +00:00
James Willcox
3ff87c0842 Bug 1522451 - Add asset support to HttpBin r=geckoview-reviewers,agi
This lets us request, e.g. '/assets/www/hello.html'.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 19:15:55 +00:00
Petru Lingurar
263b5fbffd Bug 1534488 - Optimize the imports related to the search widget functionality; r=VladBaicu
Depends on D23477

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

--HG--
extra : moz-landing-system : lando
2019-03-14 12:48:22 +00:00
Petru Lingurar
505230c530 Bug 1534488 - Cleanup previous state before entering editing mode for search; r=VladBaicu
We need to ensure that nothing from the previous app state would prevent a
smooth flow for the search widget UX.
As such, in the event that they were left open, we will close the options menu
and the tabs tray before entering in tab editing mode for search.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 12:48:04 +00:00
Andrei Lazar
4e47ed126e Bug 1534207 Search Widget missing TELEMETRY probe for searches initiated r=petru
Added a telemetry probe (unique source value) to allow data science to measure percentage of searches initiated from the widget.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:10:41 +00:00
Nathan Froyd
6d4137ff36 Bug 1534159 - remove exceptions for Android and Darwin from libstdcxx checks; r=glandium
The only place we'd need the compat libraries would be for host
binaries, and those shouldn't be a problem given that our system images
are new enough.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 22:24:20 +00:00
Dustin J. Mitchell
aa3ebe8988 Bug 1535171 - fix missed uses of no-argument get_root_url r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23416

--HG--
extra : moz-landing-system : lando
2019-03-13 23:10:16 +00:00
Botond Ballo
a986312833 Bug 1517895 - Wait for mozvisualscroll explicitly in the session store tests. r=JanH
SSTabScrollCaptured can sometimes be fired for other reasons, causing us to
query the visual scroll position before it has been updated.

Not explicitly waiting for SSTabScrollCaptured is also safe in this case
because we're only querying the session store's view of the scroll position
*after* closing the tab, which will flush any pending scroll position updates
in the session store.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Botond Ballo
fd96b481ac Bug 1517895 - Use scrollToVisual() in the session store tests. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D19874

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Gijs Kruitbosch
fba25eeb23 Bug 1534943 - also update android CSS for font-size changes, r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23325

--HG--
extra : moz-landing-system : lando
2019-03-13 19:40:26 +00:00
Geoff Brown
2390d7a2a4 Bug 1532435 - Skip junit inputConnection test on debug only, to save lots of time; r=snorp
Disabling inputConnection on debug saves about 15 minutes of time, which helps
us avoid the timeouts seen in this bug. It continues running on opt, where it
runs much faster.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 15:26:36 +00:00
Eitan Isaacson
50711a42d5 Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D21610

--HG--
extra : moz-landing-system : lando
2019-03-12 21:58:37 +00:00
James Willcox
137efa1bc6 Bug 1498721 - Add default methods to GeckoView delegate interfaces r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D23016

--HG--
extra : moz-landing-system : lando
2019-03-12 14:19:45 +00:00
Andrei Lazar
69cf1e9a01 Bug 1533723 Missing variants resources for search widget preview r=petru
Added preview assets for search widget within all variants.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:38:26 +00:00
Dorel Luca
df51e27b6a Backed out changeset 583048926c12 (bug 1531579) for Geckoview failure. CLOSED TREE 2019-03-12 01:38:46 +02:00
Eitan Isaacson
adcc1ec434 Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D21610

--HG--
extra : moz-landing-system : lando
2019-03-05 19:28:41 +00:00
Emily Toop
e349b447de Bug 1527716 - Update GVE and Documentation to reflect proper handling of Notification permissions. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D21947

--HG--
extra : moz-landing-system : lando
2019-03-11 15:35:42 +00:00
Petru Lingurar
1520e32465 Bug 1533361 - Force about:home startup tab if the app was opened from the search widget; r=AndreiLazar
If the app was started from the search widget we need to always load about:home
and not the homepage which the user may have set to be another address.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 13:18:06 +00:00
Andrei Lazar
823284d748 Bug 1534205 Search Widget wrong layout after updating period r=petru
Removed search widget update interval in order to prevent bad layout re-configuration.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 10:17:58 +00:00
Petru Lingurar
2be45cf249 Bug 1534074 - Use in place api check to prevent Lint ApiDetector errors; r=AndreiLazar
Previous code was using our own sugary feature26Plus check which Lint doesn't
properly follow.
As such even if the code was properly guarded and behaved correctly Lint would
show errors about improper usage of methods which require higher api levels.
Doing the api check in place ensures it will get picked up by Lint's
ApiDetector and so it will not report about such errors here.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 08:51:29 +00:00