Commit Graph

29493 Commits

Author SHA1 Message Date
John Lin
d618ed7700 Bug 1304268 - permanently record MEDIA_DECODING_PROCESS_CRASH telemetry data. r=bryce
This data was recorded for releases 52-57 when the remote decoding process
mechanism was developed. Enable it again to monitor the data and see if
stagefright still crashes in recent Android versions. If it's no longer the
case, we might deprecate out-of-process decoder and save some IPC overhead.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 22:13:10 +00:00
Mike Hommey
f69ac41eca Bug 1530057 - Disable LTO for non-PGO Android builds. r=froydnj
LTO was enabled on Android back when the normal Android builds were the
ones we shipped. But now we have separate builds for what is shipped,
*and* they do PGO+LTO.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 22:03:18 +00:00
Eitan Isaacson
5f6ff669bf Bug 1616146 - Cache accessibility focus boundaries in java. r=Jamie
This allows `performAction` to immediately return false if a boundary is
reached and allow TalkBack to navigate past the web view.

Change viewport cache listener to reorder since it should catch all tree
mutations in the document.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 21:09:06 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Noemi Erli
c534f17571 Backed out changeset fa5ee85e20a5 (bug 1603673) for causing lint failure in GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 08:39:30 +02:00
Marcos Cáceres
ccfa51c524 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:43:48 +00:00
shindli
ba0dcaf78d Backed out changeset 061d47c2c5c7 (bug 1603673) for mozlint failure in /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 05:39:05 +02:00
Marcos Cáceres
b5521fbef4 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:11:12 +00:00
Alexandre Poirot
9073e966ec Bug 1614791 - Rename DebuggerServer to DevToolsServer. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61363

--HG--
rename : devtools/server/debugger-server.js => devtools/server/devtools-server.js
extra : moz-landing-system : lando
2020-02-17 10:28:24 +00:00
Masayuki Nakano
351bd16f96 Bug 1615532 - Make line style in TextRangeStyle an enum class and sync it with GeckoEditable.IME_RANGE_LINE_* r=m_kato
At bug 1614208, the line style value mapping was changed, but
`GeckoEditable.IME_RANGE_LINE_*` are not updated.

This patch makes the style in `TextRangeStyle` an enum class for making it
type safer, and updates `GeckoEditable.IME_RANGE_LINE_*`, and finally, adds
`FYI` comments in `TextRangeStyle` to make developers realize it requires
manual update.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 07:53:46 +00:00
Bogdan Tara
171ffe820f Backed out changeset 5f9d18ac0296 (bug 1612278) for TextInputDelegateTest related failures CLOSED TREE 2020-02-17 05:37:24 +02:00
Makoto Kato
221b84b167 Bug 1612278 - Re-enable TextInputDelegateTest#inputConnection. r=geckoview-reviewers,snorp
`inputConnection` works again even if x86_64 emulator with e10s.

But the following tests still have timing issue and are sometimes failure.
So this is still turned off.

- `inputConnection_bug1133802`
- `inputConnection_setSelection`

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:46:42 +00:00
Hiroyuki Ikezoe
6504d023af Bug 1611579 - Create a Promise to get a window.resize event before calling setVerticalClipping. r=geckoview-reviewers,snorp
So that the test can receive the expected event triggered by the
setVerticalClipping.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 22:44:18 +00:00
Eugen Sawin
2e3cc0765a Bug 1615372 - [1.0] Remove the useContentProcessHint runtime setting. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D62785

--HG--
extra : moz-landing-system : lando
2020-02-14 16:54:18 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Petru Lingurar
a68651c6ab Bug 1611346 - Format mma.rst for a better html conversion; r=AndreiLazar
Currently the sections regarding mma events and deeplinks are not properly
formatted making the text hard to read, follow and understand.
Use the `.. code-block:: json` formatting for Events. Found this in the history
for the previous documentation from central
Add a newline before the deep links bullet list so that each element would be
properly formatted.
Before and after screenshots of the docs are posted in the ticket.

Depends on D62730

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

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:27 +00:00
Petru Lingurar
429714ebd9 Bug 1611346 - Replace "Fennec" with "Firefox for Android" in mma.rst; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D62730

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:25 +00:00
Dan Minor
edf731c011 Bug 1578073 - Update build.gradle for new android camera code; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D61851

--HG--
extra : moz-landing-system : lando
2020-02-11 17:03:36 +00:00
Eitan Isaacson
bd8bbc3f73 Bug 1564507 - Remove 'ZZ' from AccessibilityTest. r=agi
Now that we don't rely on XPCOM accessibility anymore we shouldn't see
intermittents with accessibility on.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:00:16 +00:00
Jonathan Almeida [:jonalmeida]
9942b0ab5a Bug 1614990 - Update WebPushController.onSubscriptionChanged to take only the scope. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D62607

--HG--
extra : moz-landing-system : lando
2020-02-12 17:15:37 +00:00
Brendan Dahl
331db208d5 Bug 1612559 - Add test for rejected install extension for GeckoView. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D62074

--HG--
extra : moz-landing-system : lando
2020-02-07 20:58:18 +00:00
Eugen Sawin
08c14d911f Bug 1612608 - [3.0] Adjust GVE to account for missing multiprocess session setting. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D62080

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:20 +00:00
Eugen Sawin
7f5b9596ac Bug 1612608 - [2.1] Adjust tests to account for missing multiprocess session setting. r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D62079

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:13 +00:00
Eugen Sawin
83e385a410 Bug 1612608 - [1.1] Move useMultiprocess from session to runtime settings. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D62078

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:06 +00:00
Eugen Sawin
0e72779d84 Bug 1613041 - [2.0] Add missing import. a=bustage-fix
CLOSED TREE

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

--HG--
extra : amend_source : 2ffda3ba8af9cb5765a017e6815cbe82cff04dfa
2020-02-12 15:54:47 +02:00
Eugen Sawin
34c30bd216 Bug 1613041 - [1.0] Handle null return for getRunningAppProcesses. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D62207

--HG--
extra : moz-landing-system : lando
2020-02-11 14:45:26 +00:00
Brindusan Cristian
5d70119bb0 Backed out 12 changesets (bug 1578073) for linting failure on Camera2Session.java. CLOSED TREE
Backed out changeset 20e979be216b (bug 1578073)
Backed out changeset e361b04a8502 (bug 1578073)
Backed out changeset 8aae0721f09c (bug 1578073)
Backed out changeset 381836e3bad0 (bug 1578073)
Backed out changeset 0c214e8034bb (bug 1578073)
Backed out changeset b91603fdd9de (bug 1578073)
Backed out changeset 8533a03e36ca (bug 1578073)
Backed out changeset 2126f6d9bffc (bug 1578073)
Backed out changeset 39a853c82a71 (bug 1578073)
Backed out changeset 2a8e1c02cede (bug 1578073)
Backed out changeset 55e2a4c5cab9 (bug 1578073)
Backed out changeset 27b45ca46f24 (bug 1578073)

--HG--
rename : dom/media/systemservices/android_video_capture/device_info_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc
rename : dom/media/systemservices/android_video_capture/device_info_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : dom/media/systemservices/android_video_capture/video_capture_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc
rename : dom/media/systemservices/android_video_capture/video_capture_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h
2020-02-11 17:22:50 +02:00
Dan Minor
e884920a81 Bug 1578073 - Update build.gradle for new android camera code; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D61851

--HG--
extra : moz-landing-system : lando
2020-02-10 17:08:38 +00:00
Markus Stange
89d18db033 Bug 1614514 - Insert new line in geckoview-quick-start.md after list in order to fix formatting.
Differential Revision: https://phabricator.services.mozilla.com/D62374

--HG--
extra : moz-landing-system : lando
2020-02-11 00:09:43 +00:00
Thomas Wisniewski
6f8de0038c Bug 1612363 - add ability to allow extensions to close their action popups in GV; r=esawin,agi
add ability to allow extensions to close their action popups in GV.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 21:20:58 +00:00
Eugen Sawin
466209750f Bug 1608985 - [3.0] Add denied redirect test. r=geckoview-reviewers,snorp
Depends on D61704

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

--HG--
extra : moz-landing-system : lando
2020-02-10 17:05:06 +00:00
Eugen Sawin
aaf4c9b0f8 Bug 1608985 - [2.0] Add LoadRequest debug string. r=geckoview-reviewers,snorp
Depends on D61703

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

--HG--
extra : moz-landing-system : lando
2020-02-06 17:07:54 +00:00
Makoto Kato
494b9d8d45 Bug 1612785 - GVE should set WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_* via onMetaViewportFitChange. r=geckoview-reviewers,snorp
This is follow up of bug 1574307 (and bug 1503656).

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:55:15 +00:00
Brendan Dahl
fe7cce925e Bug 1599581 - Implement update extension for GeckoView. r=esawin
Wires up the addon manager update process to the GekcoView API. Adds
several basic tests for verifying the udpate steps. Adds a new way to
automatically bundle new test addons into xpi files and registers them
with the example.com server.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 01:58:45 +00:00
Eitan Isaacson
697e001179 Bug 1604103 - Instead of pruning links and headings use contentDescription. r=Jamie
Chrome prunes the subtrees of links and headings (with single text leaf
children) and we mimic this in Gecko. The problem is that sometimes a
heading can be a child of a link, and it would be impossible to reach
when navigating by headings.

The main reason we mimiced chrome is because we would getthe name of the
node and its subtree uttered, so you would hear the name of the node
twice. By using contentDescription we can suppress the subtree from
TalkBack's utterance and preserve the node's children for heading
navigation.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 04:11:47 +00:00
Aaron Klotz
cf9539a846 Bug 1607537: Fix timeouts in ParentCrashTest.crashParent and re-enable the test; r=geckoview-reviewers,esawin
The fundamental issue here is that `ParentCrashTest` starts a second
`GeckoRuntime` via `RemoteGeckoService` within the same logical Android
Application.

This patch adds `RuntimeCreator.shutdownRuntime()` so that the test can
shut down the existing `GeckoRuntime` before starting up its own.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 06:52:11 +00:00
Thomas Wisniewski
d15482b6d9 Bug 1598792 - ensure that GeckoView WebExtension.metaData.optionsPageUrl and WebExtension.metaData.openOptionsPageInTab are available after the installExtension promise is resolved; r=robwu,agi
These values are not available right away after `onInstallEnded`, but are available after `Management.on("ready")` for the addon. We prefer not complicating the
situation for GV embedders, and instead only resolving the `installExtension` once the addon is ready.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 16:28:17 +00:00
Agi Sferro
d8a9316c60 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:19 +00:00
Agi Sferro
c1ad4b4c0f Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:17 +00:00
Agi Sferro
c4f3912001 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:14 +00:00
Christoph Walcher
baa36cbd6f Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:12 +00:00
Agi Sferro
16bd2d03b1 Bug 1597793 - Check if a window is not a popup in ext-utils's onLocationChange. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60986

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:10 +00:00
Brindusan Cristian
ab9177e525 Backed out 5 changesets (bug 1597793) for ESlint error at GeckoViewWebExtension.jsm.
Backed out changeset d8132aa16234 (bug 1597793)
Backed out changeset 79aaf28b5cea (bug 1597793)
Backed out changeset 4de3746c478e (bug 1597793)
Backed out changeset 0e9c04f18e3c (bug 1597793)
Backed out changeset b830ae752c93 (bug 1597793)
2020-01-25 06:40:09 +02:00
Agi Sferro
52b037e389 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:08 +00:00
Agi Sferro
a1e95dff3d Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:06 +00:00
Agi Sferro
fca4ac4ef5 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:04 +00:00
Christoph Walcher
72242d52b8 Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 04:13:30 +00:00