The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable). That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).
The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names. We change the location of findbugs output to follow
suit.
This requires either:
- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline
It's best to use the new lint baseline, which will happen in the next commit.
MozReview-Commit-ID: D19FzIDCJrE
It's unfortunate, but somehow the
run-task > mozharness > mach build > mach gradle > Gradle
causes Gradle to hang with no output. We avoid the bug by avoiding
the `max_build_output_timeout > 0` branch in mozharness. (These tasks
are all in Task Cluster, so they'll be killed eventually and it's not
a huge issue to remove the output timeout.)
MozReview-Commit-ID: 9wiLWS7kRQ9
This version of the sdk download is based on the previous one but includes
a new version - 1.0.39 - of adb and eliminates some files not used by the
emulator (smaller, faster download). By including adb in the sdk download used
for the emulator, the tools sdk download can be eliminated.
This removes the option to pass in a custom virtualenv binary and gets
mozharness to always use the copy in 'external_tools'. Because this is now
deterministic, we don't need to do things like check what version of pip is
being used.
MozReview-Commit-ID: GWxkmaZVpsZ
This adds a second copy of virtualenv to the tree. We need to do this because
buildbot is downloading the 'testing/mozharness' directory directly from
hg.m.o. It would be hard and risky to also get it to download
'third_party/python/virtualenv'. So instead, we simply copy it to avoid the
issue.
Bug 1408051 is filed to remove this extra copy once everything is using
taskcluster.
MozReview-Commit-ID: GWxkmaZVpsZ
The issue here was that the cookie domain was always prepended with
'.' character. To resolve this edge-case Marionette now first checks
whether the cookie domain is in fact an IP address.
MozReview-Commit-ID: 4xBd4rscXxx
This is in preparation for further changes to these files later in this patch
series.
In particular this patch:
* Moves some code to more modern Javascript that should be easier to read and
maintain
* Makes the tests more strict about when active/after values are specified
- If the timing parameters mean there is no active phase, the test should not
specify a value to test for that phase. If there *is* an active phase, the
test must provide a value to test (if it does not the test will fails when
it compares against the undefined value).
- Likewise for the after phase
This should make it a little easier to incorporate testing the playbackRate.
MozReview-Commit-ID: 17vihK5RSbu
This test fails to test what it designed to test because the <input> is not
narrow enough to let 'b's overflow.
I added an <input> that have a fixed size to ensure 'B's overflows, and
remove the first long press on the first word.
MozReview-Commit-ID: 83zBj4yBXVk