If set to true geckodriver will start Firefox with the
Remote Protocol enabled by using the --remote-debugging-port=0
command line argument.
The returned capabilities by the New Session command will
contain `moz:debuggerAddress` that holds the "host:port"
of the HTTP server to query for debuggable websocket
connections.
Differential Revision: https://phabricator.services.mozilla.com/D96845
We know that this test will never fail with any of the hardware used by our test infrastructure. It also force create a RDD process even when not actually used in the tests; skewing the results.
Differential Revision: https://phabricator.services.mozilla.com/D94804
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
Support for anonymous elements has been removed in Firefox 72.
Because that support was chrome scope only, it can be safely
removed from geckodriver.
Differential Revision: https://phabricator.services.mozilla.com/D91751
This adds explicit support for esr versions. It also moves support for
parsing the `firefox --version` output in mozversion, so that geckodriver
isn't reimplementing part of the logic itself.
Differential Revision: https://phabricator.services.mozilla.com/D86346
When creating a Firefox session with a custom binary, ensure that it
either has a valid application ini file or a valid version string when
run with --version.
Differential Revision: https://phabricator.services.mozilla.com/D81531
When creating a Firefox session with a custom binary, ensure that it
either has a valid application ini file or a valid version string when
run with --version.
Differential Revision: https://phabricator.services.mozilla.com/D81531
Paths for pushing files to Android devices were being constructed with
`PathBuf::push`, which uses the system file separator. On Windows, this results
in malformed paths like
`/data/local/tmp\org.mozilla.geckoview_example-geckoview-config.yml`.
Differential Revision: https://phabricator.services.mozilla.com/D60738
--HG--
extra : moz-landing-system : lando
In general Desktop platforms can use the launching environment, which
is inherited by geckodriver; but that's not possible on Android, so we
introduce a new `env` map in Firefox options and ferry it through to
the GeckoView configuration file (on Android) or the launched Firefox
(on Desktop).
Differential Revision: https://phabricator.services.mozilla.com/D59568
--HG--
extra : moz-landing-system : lando
The extra heading causes some exposure problems with the way
the sidebar menu collapses docs under a certain hierarchy depth.
Since the user documentation is more important than the developer
documentation, it makes sense not to collapse it.
DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D49461
--HG--
extra : moz-landing-system : lando
We duplicate the documentation for moz:firefoxOptions between
firefox-source-docs.m.o and MDN. This redirects users to look at MDN.
Differential Revision: https://phabricator.services.mozilla.com/D48695
--HG--
extra : moz-landing-system : lando
We duplicate the documentation for moz:firefoxOptions between
firefox-source-docs.m.o and MDN. This redirects users to look at MDN.
Differential Revision: https://phabricator.services.mozilla.com/D48695
--HG--
extra : moz-landing-system : lando
Regular expressions are expensive, both in runtime cost and
compile-time cost of the regex crate. This is the first step
towards getting rid of the regex dependency in geckodriver.
Differential Revision: https://phabricator.services.mozilla.com/D48053
--HG--
extra : moz-landing-system : lando
This makes geckodriver configure GeckoView vehicles using a
configuration YAML file. This is the [blessed way to configure such
vehicles](https://mozilla.github.io/geckoview/consumer/docs/automation).
The old way based on intent arguments is kept as long as Fennec
needs to be supported because it doesn't read the configuration file.
And other packages, which are based on GeckoView, will ignore
package specific intent arguments.
The configuration file is always pushed, even when it will be
ignored by the relevant package.
Differential Revision: https://phabricator.services.mozilla.com/D44578
--HG--
extra : moz-landing-system : lando
This patch allows geckodriver to interact with processes of
GeckoView packages on Android devices while running itself
on a host machine. The connection to and from the application
under test is done via adb forward ports.
Depends on D45363
Differential Revision: https://phabricator.services.mozilla.com/D44897
--HG--
extra : moz-landing-system : lando
This allows to port-forward using adb. Connecting to such ports
always establishes a TCP connection to the ADB daemon, but not all
such connections are to bound ports. Waiting for the Marionette
handshake ensures the connection is real, and not just partially
forwarded.
Depends on D44895
Differential Revision: https://phabricator.services.mozilla.com/D44896
--HG--
extra : moz-landing-system : lando
Those preferences got updated to "app.normandy.*" with Firefox 60, and are no longer necessary to be set.
Differential Revision: https://phabricator.services.mozilla.com/D45576
--HG--
extra : moz-landing-system : lando
This provides some documentation on how geckodriver interacts with
Firefox profiles, and about the precedence of automation preferences
used in Marionette.
A frequent question is where temporary profiles are created and if
the location can be changed. This documentation provides answers to that.
DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D44996
--HG--
extra : moz-landing-system : lando
This also removes a dependency on rand 0.4 getting it closer to being
able to remove that.
Differential Revision: https://phabricator.services.mozilla.com/D45710
--HG--
extra : moz-landing-system : lando
The geckodriver 0.25.0 release was made entirely without the use
of Travis, and we have subsequently disabled all Travis hooks with
the GitHub project.
This patch removes the remaining Travis CI configuration for geckodriver
from central, as we plan to make future releases using TaskCluster.
DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D45405
--HG--
extra : moz-landing-system : lando