Commit Graph

28328 Commits

Author SHA1 Message Date
Jan Henning
e7e0607926 Bug 1540573 - Followup - Don't double-start/stop NetworkManager in Fennec. r=snorp
Now handled via GeckoRuntime's lifecycle callbacks.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:26:13 +00:00
Eitan Isaacson
d0fdaea75f Bug 1549576 - Store fixed layer margin in session and send to compositor when ready. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D30132

--HG--
extra : moz-landing-system : lando
2019-05-07 21:13:29 +00:00
Bogdan Tara
0545979dfd Backed out changeset 45f82a11656c (bug 1549576) for GeckoSession.java related checkstyle failures CLOSED TREE 2019-05-07 23:20:55 +03:00
Mike Shal
3e32d74d22 Bug 1543212 - Create a PGO-optimized android-aarch64 build; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D29588

--HG--
extra : moz-landing-system : lando
2019-05-02 21:36:46 +00:00
Sonali9
685b7499b8 Bug 1495344 - Added color definitions for sepia mode in mobile aboutReader.css r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29735

--HG--
extra : moz-landing-system : lando
2019-05-07 18:59:13 +00:00
Jan Henning
b9a12131e0 Bug 1494026 - Part 1: Add link to OS app notification settings. r=VladBaicu
Starting from Android O, more fine-grained control over which notifications
should be displayed is available through Android's notification channel system.
To aid discoverability, we add a link to the corresponding settings screen from
inside our own settings menu.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:21:01 +00:00
Jan Henning
9036a5ab11 Bug 1494026 - Part 0b: Cleanup javadoc. r=VladBaicu
Somehow that comment ended up in the wrong file after refactoring.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:21:51 +00:00
Jan Henning
f4c63a5267 Bug 1494026 - Part 0a: Ignore private resource warning. r=VladBaicu
We're not going to change this for now and otherwise Android Studio shows an
error for that file.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 18:59:13 +00:00
Eitan Isaacson
374fe174e9 Bug 1549576 - Store fixed layer margin in session and send to compositor when ready. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D30132

--HG--
extra : moz-landing-system : lando
2019-05-07 17:54:22 +00:00
Paul Adenot
d9dfc81a00 Bug 1549699 - Don't use communication mode and speakerphone mode methods of AudioManager. r=snorp
This is more related to telephony than anything else, and are more suited to
real telephony app.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 15:20:02 +00:00
Petru Lingurar
d9b2ef28a3 Bug 1547195 - Remove unused image asset; r=VladBaicu
This image was initially parts of the new Onboarding UX assets but
it is unused at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 14:02:38 +00:00
Chris Pearce
3f91421217 Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:14 +00:00
Chris Pearce
79608d2578 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:09 +00:00
Chris Pearce
e62032e491 Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:41:10 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
05af110324 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:40:56 +00:00
Sonali9
5fe0091f40 Bug 1395824 Add css for table borders in aboutReader.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D29957

--HG--
extra : moz-landing-system : lando
2019-05-06 19:00:03 +00:00
Eitan Isaacson
a9bf1e8fe8 Bug 1548960 - Call super.onAttachedToWindow from GeckoView even when we have no session set. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D29916

--HG--
extra : moz-landing-system : lando
2019-05-06 16:38:18 +00:00
Eugen Sawin
cb7193747e Bug 1545255 - [2.0] Add GeckoSession.loadUri() referrer test. r=snorp
Depends on D29683

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:15:45 +00:00
Eugen Sawin
d1db7a80be Bug 1545255 - [1.0] Use ReferrerInfo when loading URIs in GeckoView. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29683

--HG--
extra : moz-landing-system : lando
2019-05-03 22:08:29 +00:00
Nika Layzell
6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Ryan VanderMeulen
5b44c6f42f Bug 1548617 - Add FENNEC_NIGHTLY checks to the build config. r=nalexander
Make sure we continue to leave JS un-minified for Nightly builds and add a missing FENNEC_NIGHTLY to AppConstants.jsm which got missed in bug 1547710.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:01:21 +00:00
Ryan VanderMeulen
e3b708c75a Bug 1548617 - Add FENNEC_NIGHTLY checks to appropriate places in Fennec app code. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29723

--HG--
extra : moz-landing-system : lando
2019-05-03 09:25:50 +00:00
Andreea Pavel
e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Andrea Marchesini
d179c5015e Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Anuta Logigan
0380663d44 Bug 1546153 - Fix NPE at BrowserApp.onCreate() caused by mBrowserToolbar being null. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com//D28857

--HG--
extra : source : fa5584298300bbff34cdaa3001ac248e4b4003a7
extra : amend_source : 199838b590c6b756ae5c1d6bfa1442843cd13642
2019-04-25 16:39:26 +02:00
Sebastian Hengst
84d3dda4ab Backed out changeset fa5584298300 (bug 1546153) for checkstyle failure (missing whitespace) 2019-05-03 13:31:07 +02:00
alogigan
f5ae35ca10 Bug 1546153 - Fix NPE at BrowserApp.onCreate() caused by mBrowserToolbar being null. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com//D28857

--HG--
extra : amend_source : ac103077c7c3010faf0f975f4a8ed4fadf576e78
2019-04-25 16:39:26 +02:00
Andrei Teslovan
4a2b5dd88c Bug 1548000 - Default browser triggers "Default apps" screen; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29671

--HG--
extra : moz-landing-system : lando
2019-05-03 08:53:54 +00:00
Bogdan Tara
386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Chris Pearce
a3f9372fa2 Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:49 +00:00
Chris Pearce
c957fbd2ef Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:31 +00:00
Chris Pearce
921421911b Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:22 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
524b2509b6 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:02 +00:00
Andrea Marchesini
fad9354e10 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:53 +00:00
Emily Toop
3fd2272331 Bug 1546851 - Ensure that the context menu is closed when performing a paste. r=geckoview-reviewers,droeh
This issue was caused by the updating of the caret position after the paste occurs firing an `updateposition` event resulting in an `GeckoView:ShowSelectionAction` message to reposition context menu without any attempt to close the context menu. The solution is to hide the context menu before the repositioning of the caret occurs such that the `updateposition` event doesn't trigger a redisplay.

I tried several versions of this trying to trigger the menu close from inside `GeckoViewSelectionActionDelegate`, including making the call to `docShell.doCommand("cmd_paste");` asynchronous and firing `ACTION_HIDE` before firing `ACTION_PASTE`, but the result is always the same - one of the events is processed before the other and so the second event is rejected as a stale response.

Therefore we are firing the `pagehide` from inside the code that performs the paste. This has to be done before the paste occurs otherwise the `updateposition` event is fired before the page hide event and the context menu redisplays before being hidden.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:06:58 +00:00
Narcis Beleuzu
762dbd77f4 Backed out changeset 0727a51d7ae1 (bug 1547929) as requested by petru. CLOSED TREE 2019-05-02 13:46:56 +03:00
diana.iacos
3af8effac4 Bug 1547929 - [Tablet] Make default browser option not displayed on top of the Settings Menu; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29636

--HG--
extra : moz-landing-system : lando
2019-05-02 09:16:05 +00:00
Noemi Erli
54a0234766 Backed out 6 changesets (bug 1540573) for failures in test_CSP.html
Backed out changeset 599e6e06599d (bug 1540573)
Backed out changeset bf725b7daa5b (bug 1540573)
Backed out changeset 814c94b26028 (bug 1540573)
Backed out changeset 3496ca48f6e0 (bug 1540573)
Backed out changeset 2c4303b175ec (bug 1540573)
Backed out changeset b49cd2b191ae (bug 1540573)
2019-05-02 06:41:33 +03:00
Cosmin Sabou
a884fb99d8 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Chris Pearce
ce390c7a4f Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:21 +00:00
Chris Pearce
4c240bf871 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:17 +00:00
Chris Pearce
6d77c96a1d Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:53 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
03a2295044 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:33 +00:00
Andrea Marchesini
36718d66c8 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Ryan VanderMeulen
5e8e050d6a Bug 1547710 - Add FENNEC_NIGHTLY define to Fennec nightly builds. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D29203

--HG--
extra : moz-landing-system : lando
2019-05-01 18:37:29 +00:00
Kartikaya Gupta
dc2d079829 Bug 1544517 - On GeckoView default to treating mouse inputs as mouse. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29484

--HG--
extra : moz-landing-system : lando
2019-05-01 14:53:01 +00:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Kartikaya Gupta
6487cabf8b Bug 1544517 - Add a pref that controls conversion of mouse events to touch events. r=geckoview-reviewers,rbarker
For TV devices, it is useful to have mouse events automatically
interpreted as touch events. On other devices, such as more desktop-like
Android devices, we want to treat mouse events as mouse events. This patch
makes this behaviour controllable by a pref, but keeps the existing default
behaviour of treating mouse events as touch events.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 15:28:21 +00:00
Johan Lorenzo
3bab3c3966 Bug 1546320 - Create mozconfigs for Fennec beta builds r=RyanVM
Create mozconfigs for Fennec beta builds.
This also prevents mergeday scripts from modifying nightly mozconfigs on beta

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

--HG--
rename : mobile/android/config/mozconfigs/android-aarch64/nightly => mobile/android/config/mozconfigs/android-aarch64/beta
rename : mobile/android/config/mozconfigs/android-aarch64/debug => mobile/android/config/mozconfigs/android-aarch64/debug-beta
rename : mobile/android/config/mozconfigs/android-api-16/nightly => mobile/android/config/mozconfigs/android-api-16/beta
rename : mobile/android/config/mozconfigs/android-api-16/debug => mobile/android/config/mozconfigs/android-api-16/debug-beta
rename : mobile/android/config/mozconfigs/android-x86/nightly => mobile/android/config/mozconfigs/android-x86/beta
rename : mobile/android/config/mozconfigs/android-x86/debug => mobile/android/config/mozconfigs/android-x86/debug-beta
rename : mobile/android/config/mozconfigs/android-x86_64/nightly => mobile/android/config/mozconfigs/android-x86_64/beta
rename : mobile/android/config/mozconfigs/android-x86_64/debug => mobile/android/config/mozconfigs/android-x86_64/debug-beta
extra : moz-landing-system : lando
2019-04-30 13:57:48 +00:00
Narcis Beleuzu
8e7b38b0cd Backed out changeset 491709a630ef (bug 1544517) for geckoview failures 2019-04-30 07:55:35 +03:00