Land date changes to support windows nightlies onto central
MozReview-Commit-ID: Jwk7c2W1QP7
--HG--
extra : rebase_source : c6f68a8b3621b3a743d1f1eb4a6857d23dd801b7
This adds an additional measurement before we clear the preloaded process. It
will allow us to track future regressions within the preloaded process.
MozReview-Commit-ID: Bza7VscEqH3
Clears the preloaded process that can be kept alive by various new features so
that our 'TabsClosed' metrics continue to measure the same thing, mainly 1
chrome process and 1 content process sticking around.
MozReview-Commit-ID: L4g45o4mTzR
Firefox update tests will break if we do not use the
`quitApplication' command, since the `quit' command is not available
in Firefox 53.
MozReview-Commit-ID: KJoCPBh9NKh
--HG--
extra : rebase_source : b6bba278f812d1757011fb2a947281a7224c4e10
This is generated by running '--manifest-update' script.
I suspect that all the unrelated changes are generated because some authors
did not use the script to udpate the manifest. With this patch, we should
be able to make the manifest.json up-to-date.
MozReview-Commit-ID: BIQUkuI2p4B
--HG--
extra : rebase_source : c51d8583d3f9f1de887e20e8720f7673173cb7e4
This test aims for forcing the two mismatched transforms to be decomposed into
matrix3d before interpolation. To do so, we need to:
1. make 'From' and 'To' to be two mismatched transforms,
2. at least one of the two transforms has to be a 3D transform.
In this way, we not only test the interpolation, but also test the correctness
of 3D matrix decomposition.
MozReview-Commit-ID: FAKu6GFVZRm
--HG--
extra : rebase_source : d590791d93ef28f2f0e7dc7957bc413fe60faa7b
If we switched to a window that is now closed (possible in a reftest
run, for example), we might end up calling execute_async_script
without a valid current window. The runner window is always supposed
to be open (and if it isn't then waiting won't make much sense
anyway), so switch to that before executing script in wait().
MozReview-Commit-ID: ERoN4sz5SuH
If the run ended with the reftest window closed e.g. because the final
test timed out, we shouldn't try to close it again, since that results
in an error.
MozReview-Commit-ID: 7FW96EkfgBG
This test (plus a couple others) were imported from upstream before they
were fully baked.
MozReview-Commit-ID: GDiFsZ8g229
--HG--
extra : rebase_source : 90e514fe100f7de89da0d34afe96262b6880838e
This test (plus a couple others) were imported from upstream before they
were fully baked.
MozReview-Commit-ID: 7pi5DBZkPVs
--HG--
extra : rebase_source : a326b4560152a21f47561b5a2e87cdf491fafe58
Added cli_script attribute to TelemetryClientTests due to test failure
Added telemetry test requirements file to /testing/config
Added mozharness script to run telemetry tests from checkout
MozReview-Commit-ID: AJKM7b1OcVW
--HG--
extra : rebase_source : 8147ad3decaa94c28ba48b87310b4a00d5a90fd2
In some cases the registration of the frame script takes longer and as
result the page load events for DOMContentLoaded and pageshow are
missed. With that the current command waits forever and causes a page
load timeout error after 300s.
By checking the readyState of the document before the listeners are
getting attached, we can ensure to return immediately if the document
has already been finished loading.
MozReview-Commit-ID: 17f6jVz7sZZ
--HG--
extra : rebase_source : 1cc27fc9bd4d9b4a39607f8d44692dfc7095b2d7
Because of bug 1376795 minidump files seem to get created with a slight
delay. As such these are not present at the time when the application
process is gone. Mozcrash currently doesn't detect those crashes, which
causes test failures to happen in our crash unit tests.
Also the tests should only run for those builds with the crash reporter
enabled. If that's not the case, like for code-coverage builds, mark
the test as skipped in setUp.
MozReview-Commit-ID: 9VqFuLX5NHl
--HG--
extra : rebase_source : dfed5d5a9527010f7838420b630c60fc2831f682
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
MozReview-Commit-ID: IvA2ySPPmeJ
--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
The |mach try| implementation isn't really testing specific so figured while doing this refactor
anyway we could take the opportunity to move it to /tools. This renames the "autotry" module to
"syntax" as one of the 'selectors' under the newly created tryselect module.
MozReview-Commit-ID: DmnGU5sKuCk
--HG--
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : 52f2a61d97107b8d50e3894ea0f5cd9c24d4108d
Implements PerformanceTiming, nsITimedChannel, and devtools 'tls setup'
Also captures telemetry on this as we do for all other attributes of timedChannel
Also propogates some null transaction timings onto first real
transaction of a connection
MozReview-Commit-ID: 47TQJYVHnKC
--HG--
extra : rebase_source : a7723962986de0c2ab00d479a22c3f5fd185c8b2
Like we do for mochitests, set the MOZ_DEVELOPER_REPO_DIR and
MOZ_DEVELOPER_OBJ_DIR environment variables when running talos
tests so that the content sandbox permits access to test files
that are symlinks from the .app/ directory to the repo or
object directory.
MozReview-Commit-ID: J1bRqoB8a2i
--HG--
extra : rebase_source : 18f0bafa53dcd872d9bd647fc2e5ce143f5887bd
Test harnesses may use STYLO_FORCE_ENABLED, so we need to check this value when
building WPT test conditions.
MozReview-Commit-ID: HXZZqBkRdOv
--HG--
extra : rebase_source : e928c9181497246532a7aa82c3c3d3b3d6d242c0
Test harnesses may use STYLO_FORCE_ENABLED, so we need to fold this into mozinfo
for mochitest annotations.
MozReview-Commit-ID: JyadTE7apX6
--HG--
extra : rebase_source : 4eda1f150c012a8f5c0a58fdc921d8a6e03c4e68
The NetUtils sync I/O shows up in the profile logs, so we want to switch the
function that loads `update.locale` file to be async.
MozReview-Commit-ID: AEYKiivsNl0
--HG--
extra : rebase_source : 3784a3d40d48e81df41d10eb92b35e1656a0305b
365731510976 (bug 1380391) added index routes for decision tasks by
pushlog id. This is a good idea. The pushlog id is guaranteed to always
be incrementing (except for repos that are periodically reset, which
we don't care about). It is useful to provide strict ordering for
pushes and is simpler for machines to consume and sort than dates.
So let's index all tasks by pushlog id.
MozReview-Commit-ID: BPqx4ARza1c
--HG--
extra : rebase_source : e952c636e5fcd2a0ddb5e14a0faaccb3761298bf
It be ideal to have |mach test {findbugs,test}| and |mach lint
{lint,checkstyle}|, but the |mach test| command is very difficult to
extend in a direction orthogonal to the existing direction. The
existing |mach test| is built around in-tree manifests, tagged and
divided into suites, intended to support |mach test
path/to/arbitrary/test|. The Android findbugs task is a global static
analysis that doesn't fit into the path/manifest model. The Android
test task is based on JUnit and not easy to build manifest support
for. The |mach lint| command is intended to be extended, but the
effort to extend it is non-trivial and not worth the effort (at this
time).
Therefore, I've taken the existing, little used |mach android| command
and added subcommands for use by local developers and automation. If
nothing else, this reduces the number of "special Gradle targets" --
the equivalent of "special Make targets" -- sprinkled throughout the
tree, which can only be a good thing!
MozReview-Commit-ID: 24b1vbgykpN
--HG--
extra : rebase_source : 8843a6e3840586fe05a1434484a848d48b2a6e8b
This adds the mozconfigs, mozharness configs and taskcluster changes required
to create optimized DMD builds for linux64, win32, win64 and macosx64.
These builds will happen nightly on mozilla-central
We also add support for custom build variants on Windows (or other generic
worker environments).
MozReview-Commit-ID: HrVT9PLSWVx
--HG--
extra : rebase_source : 39ac752a312afe04187728da82a4a7f722634811
If the previous sandbox has a dead WindowProxy reference, we should blow
away the sandbox.
This can be reproduced when a sandbox persists across multiple invocations
of the Execute Script or Execute Async Script commands, but a window is
closed in between. This will normally produce a TypeError: can't access
dead object error.
Signed-off-by: Andreas Tolfsen <ato@sny.no>
MozReview-Commit-ID: 2xdSnKV4YHI
If the target URL has the exact same hash parameter as the current URL no
page load will happen. As such Marionette should not wait for the appropriate
events.
MozReview-Commit-ID: LNbGJQgChya
--HG--
extra : rebase_source : cd8ddbad4ac10ed67d001797d31b3b868255f546
While observing page loads the only interesting events are for the
current browsing context, and its document. While most events have
the document as target, and bubble up, the hashchange event only
fires for the window.
MozReview-Commit-ID: CiqkV4DuH48
--HG--
extra : rebase_source : b7bb9c2b3e4d591cbe700f627cdadd9a232ddbf5
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.
MozReview-Commit-ID: CDhOZ8lU2qJ
--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
If the target URL has the exact same hash parameter as the current URL no
page load will happen. As such Marionette should not wait for the appropriate
events.
MozReview-Commit-ID: LNbGJQgChya
--HG--
extra : rebase_source : a775f090c9c4e558803af80078c3eb3bf79fa583
While observing page loads the only interesting events are for the
current browsing context, and its document. While most events have
the document as target, and bubble up, the hashchange event only
fires for the window.
MozReview-Commit-ID: CiqkV4DuH48
--HG--
extra : rebase_source : b7bb9c2b3e4d591cbe700f627cdadd9a232ddbf5
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.
MozReview-Commit-ID: CDhOZ8lU2qJ
--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory. Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.
MozReview-Commit-ID: LmnviuC7Z9Y
--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
Upgrades the mozrunner crate dependency by pinning it to 0.4.1. With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.
This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.
MozReview-Commit-ID: 8emDKbiYd0S
--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
Overhaul of geckodriver's README to include more detailed information
about picking up prepared profiles from the filesystem using the args
capability in moz:firefoxOptions. It also includes a short example
on running Firefox in headless mode, which is available on some modern
Firefoxen on certain systems.
Also updates build instructions now that geckodriver lives in-tree.
MozReview-Commit-ID: AoJtpULBctH
--HG--
extra : rebase_source : 3697262f7050778ee1bc81ff4c26d51bf2cf86d4
Removes .version file ignore from .gitignore and creates a
testing/geckodriver/.hgignore rule file for parity with git.
MozReview-Commit-ID: HXgbLxeleAl
--HG--
extra : rebase_source : 8c1f919a77351378a580ab161e9660c5868e881f
When an iframe doesn't have focus, moving selection into a contenteditable element in it shouldn't cause moving focus to the document, moving focus to the editable element nor scrolling to the editor but the editor should become active element.
When an iframe has focus, moving selection into a contenteditable element in it should cause moving focus to the editor and scroll it into the view.
MozReview-Commit-ID: 1ZDPj6UotLn
--HG--
extra : rebase_source : c407e41f7f6ad771d25a5085786b94dd1bd99792
This also starts running the selftests on linux debug builds, since that's the only place that we
can test assertions and leaks.
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 340aca0c4e5f9697b1d652fd192332e47a1acab9
extra : histedit_source : 2d4b542d2122b4c6d2d48fc9c49848d5453e4533
With multi-processes for content reloads of the frame script
can happen at any time, and not only for remoteness changes.
As such the current browser has to be re-registered with the
new id of the listener.
MozReview-Commit-ID: 48MOZfuPTR9
--HG--
extra : rebase_source : 60e91ae7e1cdc942d0ac9a9dd3aac3baeccc5ddf
This wrapper just calls back into the MarionetteDriver, and
doesn't have any value. Removing it simplifies the call stack.
MozReview-Commit-ID: GH1xUHX12Xi
--HG--
extra : rebase_source : a3b9e57e63809c9936fdb2686ad6016339ea7bf7
The macro simultaneously declares an enumeration and a count of its
enumerators.
A few variants of the macro are also provided to handle things like
enum classes, underlying types, and enumerations declared at class
scope.
MozReview-Commit-ID: 3z6yHnfXbLj
--HG--
extra : rebase_source : 92c333693e4bbf85b89cd3d7ac5b31f4b5434367
This patch renames the mozinfo flag 'coverage' to 'ccov' to avoid ambiguity in whether a test is being skipped for linux64-ccov or for linux64-jsdcov. It also removes the 'runtests.py' mozinfo hack and renames all occurrences of 'coverage' that are used for skipping tests in linux64-ccov.
MozReview-Commit-ID: IF2640bDQP7
--HG--
extra : rebase_source : 614020325e30d1ca9e01aaf08479b8a4ffaec888
By not using the JSON format when sending the capabilities to the
frame script, the values cannot be correctly decoded. As result
the capabilities will be reset to their default values for the
listener, and can cause various failures.
MozReview-Commit-ID: KaryoJiyd30
--HG--
extra : rebase_source : 206e45755d3ea9b6cbf2f2022a9a364dcf22d78e
For debugging purposes it would be useful to see which observer
notifications have been received and handled by the Marionette
component.
MozReview-Commit-ID: 1EucCEjOXhu
--HG--
extra : rebase_source : 09864144c4b92d1652aee6b62c72b29d692bd2ce
It is helpful to let the user know how Marionette get started. So
INFO log lines have to be added for the command line argument and
the environment variable.
This is especially helpful to get in case of missing observer
notifications, under which the server socket is not getting
created, and the client just hangs.
MozReview-Commit-ID: 4TEF33CDJKP
--HG--
extra : rebase_source : 3246fbcce4a3db2beddf82fa7b62ac482f37dcb1
This patch adds a flag to the 'mozinfo.json' that can be used to disable tests when they are running on linux64-ccov. Then, this flag is used to prevent the marionnette test 'test_crash.py' from running on linux64-ccov.
MozReview-Commit-ID: 9IHMiZHxcMK
--HG--
extra : rebase_source : ec690cb3ffa27d3e88d2c0b8c5d510e72a5c5079
We need a top-level package for tests and support files so that
support modules are importable from subpackages. For example,
previously webdriver/support/inline.py could not be imported from
webdriver/actions/mouse.py.
I'm creating the package in a subdirectory under webdriver in
order to avoid a name-clash with webdriver, the WebDriver client
library. Part of the motivation for adding the subdirectory rather
than renaming the client library is that it's a relatively
isolated change.
MozReview-Commit-ID: BihAKcNLbXK
--HG--
rename : testing/web-platform/meta/webdriver/contexts.py.ini => testing/web-platform/meta/webdriver/tests/contexts.py.ini
rename : testing/web-platform/meta/webdriver/navigation.py.ini => testing/web-platform/meta/webdriver/tests/navigation.py.ini
rename : testing/web-platform/tests/webdriver/actions/__init__.py => testing/web-platform/tests/webdriver/tests/actions/__init__.py
rename : testing/web-platform/tests/webdriver/actions/conftest.py => testing/web-platform/tests/webdriver/tests/actions/conftest.py
rename : testing/web-platform/tests/webdriver/actions/key.py => testing/web-platform/tests/webdriver/tests/actions/key.py
rename : testing/web-platform/tests/webdriver/actions/mouse.py => testing/web-platform/tests/webdriver/tests/actions/mouse.py
rename : testing/web-platform/tests/webdriver/actions/sequence.py => testing/web-platform/tests/webdriver/tests/actions/sequence.py
rename : testing/web-platform/tests/webdriver/actions/special_keys.py => testing/web-platform/tests/webdriver/tests/actions/special_keys.py
rename : testing/web-platform/tests/webdriver/actions/support/__init__.py => testing/web-platform/tests/webdriver/tests/actions/support/__init__.py
rename : testing/web-platform/tests/webdriver/actions/support/keys.py => testing/web-platform/tests/webdriver/tests/actions/support/keys.py
rename : testing/web-platform/tests/webdriver/actions/support/refine.py => testing/web-platform/tests/webdriver/tests/actions/support/refine.py
rename : testing/web-platform/tests/webdriver/actions/support/test_actions_wdspec.html => testing/web-platform/tests/webdriver/tests/actions/support/test_actions_wdspec.html
rename : testing/web-platform/tests/webdriver/conftest.py => testing/web-platform/tests/webdriver/tests/conftest.py
rename : testing/web-platform/tests/webdriver/contexts.py => testing/web-platform/tests/webdriver/tests/contexts.py
rename : testing/web-platform/tests/webdriver/cookies.py => testing/web-platform/tests/webdriver/tests/cookies.py
rename : testing/web-platform/tests/webdriver/navigation.py => testing/web-platform/tests/webdriver/tests/navigation.py
rename : testing/web-platform/tests/webdriver/support/__init__.py => testing/web-platform/tests/webdriver/tests/support/__init__.py
rename : testing/web-platform/tests/webdriver/support/asserts.py => testing/web-platform/tests/webdriver/tests/support/asserts.py
rename : testing/web-platform/tests/webdriver/support/fixtures.py => testing/web-platform/tests/webdriver/tests/support/fixtures.py
rename : testing/web-platform/tests/webdriver/support/http_request.py => testing/web-platform/tests/webdriver/tests/support/http_request.py
rename : testing/web-platform/tests/webdriver/support/inline.py => testing/web-platform/tests/webdriver/tests/support/inline.py
rename : testing/web-platform/tests/webdriver/support/merge_dictionaries.py => testing/web-platform/tests/webdriver/tests/support/merge_dictionaries.py
rename : testing/web-platform/tests/webdriver/window_maximizing.py => testing/web-platform/tests/webdriver/tests/window_maximizing.py
extra : rebase_source : cb2aed22a39fc5b720c70e4b9864ebe20ee8ce40
To retrieve the title of the currently selected content browser
it is not necessary to call into the frame script. Instead just
take the value from the parent process directly.
MozReview-Commit-ID: KEpYKLIydrJ
--HG--
extra : rebase_source : 8b179de7057f8655a81656bd4d95b1562edb9f54
The current webextension in Marionette harness tests doesn't have an
addon id and as such will not be able to be installed outside of
about:debugging. This patch synchronizes the updated webextension
from Puppeteer with Marionette harness.
MozReview-Commit-ID: AjdDQpySnBl
--HG--
extra : rebase_source : c9a498aee2f9ade6dee31971a3b4889d63b19ec6
To support webextensions in Puppeteer the current restartless
extension gets replaced by a webextension. It allow us to test
at least the permission notification. This patch only adds basic
support.
MozReview-Commit-ID: FKq76qcOxKu
--HG--
extra : rebase_source : 1dc81e80c43d3ec61f3ff405fa7807a08ab1d45e
This patch upgrades the GRCOV version being used and changes how it is used in 'codecoverage.py'.
MozReview-Commit-ID: 6fjUB6sV3gy
--HG--
extra : histedit_source : 419133ee55f9a37725845994e0ff16a9c59b2bad
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.
MozReview-Commit-ID: zehcGJrUQX
--HG--
extra : rebase_source : e9ce75ecf18e7d4c829e369f5fbd1df8d6449edf
Unlike python 3, python 2 doesn't have a proper implementation of realpath or
samefile for Windows. However there is a function convert_path in FixTk.py that
was added to python 2 to fix an issue with tcl installations and symlinks, so
we use that as this is just for testing.