CLOSED TREE
Backed out changeset 1f3f88337227 (bug 1312739)
Backed out changeset ecb1d15e8075 (bug 1312739)
Backed out changeset b2adce340421 (bug 1312739)
Information in the ALL_FLAVORS dict is needed by interactive loaners (in the mach_test_package_commands.py
file). Because the normal mach_commands.py file doesn't get copied to the tests.zip, this commit refactors
ALL_FLAVORS into mochitest_options.py (which is copied to tests.zip) to avoid duplicating it. A side
benefit of moving ALL_FLAVORS to mochitest_options.py, is that mochitest_options.py itself can make use of
this dict. This means we no longer need to redefine the --flavor argument in the mach command.
The __init__.py file is added to turn the testing/mochitest directory into a python module. This allows
things like mach_commands.py to do things like 'from mochitest import runtests'. Mach commands are able to
find this module because the 'testing' directory is already added to sys.path in the mach bootstrap.
In the future, having mochitest as an importable module should help with running it from the srcdir. So this
is a change we should start making anyway. Unfortunately, we still need to import the main runtests.py file
from the objdir, as lots of things depend on the SCRIPT_DIR variable being in the objdir. We could probably
fix this with minimal work, but that is scope bloat for this bug.
MozReview-Commit-ID: KtWCk91bX0K
--HG--
extra : rebase_source : 4d5909f495a453b12e8301e98ed0394dcf5f2470
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.
MozReview-Commit-ID: DCNz3xEVJfY
--HG--
extra : rebase_source : 5f019d2ca80e008e89c8b9bc93722534f103a58c
Merge recent upstream changes. Adds a --version switch for setting
a version string on file records and fixes a help text typo.
MozReview-Commit-ID: KHB9AhOFZdz
--HG--
extra : rebase_source : f323d5f6a571e5ef99d6ab8e4c5ac8134b4135ba
Properties created in a more privileged scope than content cause
permission denied errors when they are accessed from a less privileged
scope. This is the case when we assign a document unload handler from
chrome to a sandbox with content privileges. A permission denied error
will be thrown if this handler is inspected from the code evaluated
inside the sandbox.
By cloning the properties along with their functions and wrapping their
reflectors, we can ensure they can be safely inspected from content.
MozReview-Commit-ID: Hy5MYvdTsv8
--HG--
extra : rebase_source : c3950385dfeb3f3cfefa05e734d3eeeb1f1ada19
In bug 1324414 we added a HASH file containing the
image hash, but we accidentally set the wrong hashes.
MozReview-Commit-ID: GbX3dAppp7U
--HG--
extra : rebase_source : 3b1141a087583dbbbe918b7f433210092db29532
The web progress `onStateChange` callback sometimes gets called multiple
times.
To ensure we do not end up removing the web progress listener multiple
times, causing an exception to be thrown if it has already been
removed, we remove the listener as part of the cleanup step when the
DOMContentLoaded event listener is removed.
MozReview-Commit-ID: Lm3sfjohyLR
--HG--
extra : rebase_source : ba63fe8af685f1dc88e62f01108e284f1b96bbe6
This change renames the `raisesAccessibilityExceptions` capability to
`moz:accessibilityChecks` to conform with the format of extension
capabilities as defined in the WebDriver specification.
As this feature is not tested or used in the Firefox upgrade tests and
has limited deployment outside Mozilla, it is considered safe for this
to be a breaking change.
MozReview-Commit-ID: DRA16cWJDX0
--HG--
extra : rebase_source : 42fac27f655ce431ae68bbaeeec6a208d91e9033
Given that all other code is using Components.interfaces it should also be
used in get_pref(). Further arguments is not iterable in older Firefox releases,
so we cannot use the unfolding - it would break Firefox UI update tests for
Firefox 45ESR -> 52ESR.
MozReview-Commit-ID: LZNdkW9XBvy
--HG--
extra : rebase_source : f01d9969fdefee944fa3dfc26113430ec1b32919
The payload sent to the listener through `GeckoDriver#sendAsync` is
sometimes mutated if a `commandID` parameter is given. Because `data`
is sometimes a reference to an object, the original object gets modified
with an additional `command_id` field.
To avoid this we copy the object before mutating it and pass it through
to the message manager.
MozReview-Commit-ID: HM2tnPqbAge
--HG--
extra : rebase_source : 6aa593973d82bdf4addd8003ce68df9ad3179a4a
This adds a HASH file next to the VERSION file in the image
context folders for prebuilt docker images. And uses the
HASH for referencing the image in the tasks created by
the decision task.
This way docker will validate the image hash when pulling it
in production. Thus, attackers won't be able to inject code
by compromising the remote docker registries we use to store
prebuilt images. Further more, this makes validation of the
Chain-Of-Trust artifacts easier as this eliminates the need
for whitelists and hash validation.
MozReview-Commit-ID: FD3B9MyeU9Q
--HG--
extra : rebase_source : e01cdbd0db06b36ba95dec3da936ee307a23aae7
At some point ActiveData stopped considering 'e10s' as a separate suite and instead stored this information
in the "run.type" field. This updates the writeruntimes.py script and mochitest runtime file resolving accordingly.
MozReview-Commit-ID: LSk2q0hafcm
--HG--
extra : rebase_source : 935942fb02f72d790464a30734ab153c2d56d5a9
Some properies (e.g. outline-width) need prerequisite styles to compute
animating styles.
MozReview-Commit-ID: LB4eWIM07dY
--HG--
extra : rebase_source : adb02e1b373df21840f175e43f9fc8a249a69601