Extract some repetitive logic into common helper functions/variables and pre-
pare support for setting/checking the scroll position on frames, too.
Additionally, I'm not sure why I ever thought it was necessary to manually fake
"scroll" events after calling scrollTo(x,y), but in any case it is no longer
necessary.
Differential Revision: https://phabricator.services.mozilla.com/D8674
--HG--
extra : moz-landing-system : lando
This changes the containerful scrolling pref to be an override pref
such that it is:
- always false on desktop (i.e. always use containerless there)
- always true in Fennec (i.e. never use containerless there)
- true in GeckoView if WebRender is disabled (i.e. only use
containerless with WebRender).
The first two cases are the same as before; the last case is new.
Because we don't create layers with WR, the containerless vs
containerful distinction doesn't make much sense there, and we need to
implement a bunch of zooming glue in either case. So it makes sense to
go with the "way of the future" and keep it containerless.
Differential Revision: https://phabricator.services.mozilla.com/D8733
--HG--
extra : moz-landing-system : lando
Added support for opening HTML files from internal storage when user is choosing fennec in the dialog picker.
Depends on D7167
Differential Revision: https://phabricator.services.mozilla.com/D7490
--HG--
extra : moz-landing-system : lando
Need to use the already initialized instance of DownloadIntegration, which has an
already initialized DownloadStore to actually store the updated list of downloads.
Differential Revision: https://phabricator.services.mozilla.com/D8403
--HG--
extra : moz-landing-system : lando
This patch adds a new API to GeckoSession to get the currently used
UserAgent.
Differential Revision: https://phabricator.services.mozilla.com/D8022
--HG--
extra : moz-landing-system : lando
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.
Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.
Depends on D6681
Differential Revision: https://phabricator.services.mozilla.com/D6682
--HG--
extra : moz-landing-system : lando
For improved security, default to a null triggering principal for
GeckoView.loadUri calls, except when loading certain privileged schemes
such as "resource" and "file".
Differential Revision: https://phabricator.services.mozilla.com/D7785
--HG--
extra : moz-landing-system : lando
Auto-fill values can contain personal information and must not appear in
the log.
Differential Revision: https://phabricator.services.mozilla.com/D8051
--HG--
extra : moz-landing-system : lando
There are two significant parts to this commit. The first avoids
scanning for duplicates in the omnijar when packaging locally. The
Fennec/GeckoView local development edit-test-compile loop _always_
includes packaging, so these developers always pay to scan for
duplicates. And, for historical reasons (Bug 1351000), we build both
a Fennec and a GeckoView omnijar, so these developers pay to scan
twice! Since scanning for duplicates isn't something that local
developers are likely to act on, let's not do this at all (rather
than, say, only once for Fennec).
The second avoids stripping and XZ compressing Fennec/GeckoView asset/
libraries twice. A little path hacking allows to exploit the fact
that the executable processing is idempotent, saving a significant
amount of time during |mach package|.
The final part of this commit just reduces the verbosity of a
`zipalign` invocation.
Depends on D7314
Differential Revision: https://phabricator.services.mozilla.com/D7315
--HG--
extra : moz-landing-system : lando
By doing this in the packager, it makes it easier to incorporate the
strip and XZ compress logic into the local Gradle build process.
To that end, this patch makes XZ compression a little more explicit in
package-manifest.in and lifts the logic next to the existing logic for
stripping. Since we only want to XZ compress assets/ (and not libs/),
we need a new flag.
Differential Revision: https://phabricator.services.mozilla.com/D7314
--HG--
extra : moz-landing-system : lando
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.
Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.
Depends on D6681
Differential Revision: https://phabricator.services.mozilla.com/D6682
--HG--
extra : moz-landing-system : lando
This is awkward but works locally (and should work in automation,
which also displays the "[Fatal Error]" strings). The pattern was
taken from GeckoView's amplification of the Kotlin compilers output
warnings.
Differential Revision: https://phabricator.services.mozilla.com/D7787
--HG--
extra : moz-landing-system : lando
The Java PushService drops messages without a callback, fix this by calling
sendRequestForResult instead which sends a callback along messages.
Depends on D7671
Differential Revision: https://phabricator.services.mozilla.com/D7672
--HG--
extra : moz-landing-system : lando
GeckoProfile.initFromArgs is called using the values set in initGecko.
initFromArgs will then only recognize a profileDir, leave profileName null,
and then call GeckoProfile.get who will then create a "Custom (anonymous)
profile with specified dir." type of GeckoProfile, which is incorrect.
We fix the profile by specifying both -profile and -P in the args string.
Differential Revision: https://phabricator.services.mozilla.com/D7671
--HG--
extra : moz-landing-system : lando
There are two significant parts to this commit. The first avoids
scanning for duplicates in the omnijar when packaging locally. The
Fennec/GeckoView local development edit-test-compile loop _always_
includes packaging, so these developers always pay to scan for
duplicates. And, for historical reasons (Bug 1351000), we build both
a Fennec and a GeckoView omnijar, so these developers pay to scan
twice! Since scanning for duplicates isn't something that local
developers are likely to act on, let's not do this at all (rather
than, say, only once for Fennec).
The second avoids stripping and XZ compressing Fennec/GeckoView asset/
libraries twice. A little path hacking allows to exploit the fact
that the executable processing is idempotent, saving a significant
amount of time during |mach package|.
The final part of this commit just reduces the verbosity of a
`zipalign` invocation.
Depends on D7314
Differential Revision: https://phabricator.services.mozilla.com/D7315
--HG--
extra : moz-landing-system : lando