Граф коммитов

13420 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 6b48ddc0b0 Bug 1304593 - Use |mach python-test| to run python unittests from make check, r=ted
Currently make check loops over all directories and runs each test file in PYTHON_UNIT_TESTS
individually. This patch instead creates a single top-level check target that runs
|mach python-tests|. This should make automation more similar to running locally, be a bit
quicker and make it easier to pull python tests out of make check completely at a future date.

MozReview-Commit-ID: 4Hg4zdFyc61

--HG--
extra : rebase_source : 31d0c38a76c11b75d3bf569f2bf22a0666161726
2016-09-26 15:29:02 -04:00
Stone Shih d6d8e15ec0 Bug 1292063 - Part 5: Update the meta file of shadow-dom/event-composed.html. r=smaug
--HG--
extra : rebase_source : 306531d139598d4f9ddbdb0a4c378e417cf450fa
2016-09-20 10:31:03 +08:00
Phil Ringnalda 7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Blake Kaplan 9d81d72177 Bug 1304531 - Remove CPOW (via shim usage) from the mochitest harness. r=Felipe
MozReview-Commit-ID: FturnOEMIV5

--HG--
extra : rebase_source : d87bfc63a503e4439b67a8cd0d4d5c6d222380fc
2016-09-19 17:18:07 -07:00
Benjamin Smedberg a735f280da Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
MozReview-Commit-ID: IDFTfaqpebo

--HG--
extra : rebase_source : b43d9fec42da6b6943786f18c8750c1880ff08fe
2016-09-29 09:16:33 -04:00
Gabriele Svelto 829aa6173a Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Christoph Kerschbaumer 2a0f6eb36f Bug 1302539 - Update wpt tests because XCTO: nosniff should not apply to images (temporarily). r=annevk 2016-10-03 10:37:47 +02:00
Phil Ringnalda acb6be9f73 Merge m-c to autoland 2016-10-02 22:40:03 -07:00
Phil Ringnalda df210784c6 Bug 1303802 - Disable the part of historical.html which is permaorange on every merge to beta when we disable our rootNode implementation and let the test unexpectedly pass 2016-10-02 00:43:32 -07:00
JW Wang 53d261ddba Bug 1239899. Part 3 - enable tests. r=cpearce
MozReview-Commit-ID: CvH4uxGv8ei

--HG--
extra : rebase_source : 353f55fae7eae01b3d152c14ad5c52c69602272e
extra : source : 722b2976bff1ca3771512818aa705e1bbb601b52
2016-09-23 17:01:27 +08:00
Dan Minor 02a68f9d95 Bug 1282897 - Disable failing WebRTC Autophone tests on Android 6; r=bc
MozReview-Commit-ID: JCms5sYyCYi

--HG--
extra : rebase_source : d27a34ea20d59067b6c48413a13d1e821324f727
2016-10-03 08:32:26 -04:00
Gabor Krizsanits 966a5d54d4 Bug 1308895 - Reuse process in browser-test.js. r=mrbkap 2016-10-12 19:51:00 +02:00
Kartikaya Gupta f6d49dac63 Bug 1310215 - Add a verbose argument to mach install which provides useful information in case the android emulator startup fails. r=ahal
MozReview-Commit-ID: EhuBgeewqtb
2016-10-14 11:15:10 -04:00
Ryan VanderMeulen e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Michelangelo De Simone 3e5861c1f3 Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
MozReview-Commit-ID: EWBjamnhAyC

--HG--
extra : rebase_source : 84bc99a7fd0f9d74b5b25d3ddc295c132e51d987
2016-09-30 16:03:21 -07:00
Francesco Pischedda 827fd85132 Bug 1291687 - Ensure string formatting is using `format()` instead of `%` for all Marionette py files: r=maja_zf
MozReview-Commit-ID: LdB3uvuqva0

--HG--
extra : rebase_source : 7a8be8310cbc1c6a9fec3df6f25e34599a6a1727
2016-09-28 21:39:00 +02:00
Ryan VanderMeulen 35753f09fc Merge m-c to autoland. a=merge 2016-10-07 09:45:32 -04:00
Andrew Halberstadt 761071a431 Bug 1308202 - Merge MochitestBase and MochitestDesktop into a single class, r=jmaher
MozReview-Commit-ID: 737L08LhLDp

--HG--
extra : rebase_source : 7fb4db544e04c87a9b729bd34b4e00e5e393cc52
2016-10-06 10:16:06 -04:00
Andrew Halberstadt 5ca5caf353 Bug 1308202 - Remove all b2g and mulet related code from testing/mochitest, r=jmaher
MozReview-Commit-ID: BfIJLp6oGHO

--HG--
extra : rebase_source : 7202f2a6026a4082f0561045dd8e2f4da0baa424
2016-10-06 10:05:27 -04:00
Simon Fraser 913eb833f6 As part of the work on bug 1195365 we need funsize to known about the MAR URLs for the latest build without that information coming from balrog. r=Callek
Reduce mar url list now to simple dictionary

MozReview-Commit-ID: 7AWLrSu7BAx

--HG--
extra : rebase_source : 619c6219ee6d8c8caaa8ae8f367490411ea1e8ad
2016-10-10 16:55:10 +01:00
Masayuki Nakano ae437d0a9a Bug 1303273 part.4 Add automated tests for bug 1293505, bug 1307703 and bug 1297985 r=m_kato
Now, NativeKey respects following WM_CHAR message.  Therefore, we can create a test for bug 1293505 which a function key causes a printable character.

Additionally, bug 1307703 is now fixed by the previous patch.  So, let's add automated test for it too.

Finally, now, I found a way to test with some keyboard layouts which are not available on old Windows.  Therefore, we should add automated tests for bug 1297985 too.

MozReview-Commit-ID: IqCEPbPYrcQ

--HG--
extra : rebase_source : 451d0264f1180cae7d7035a498f1c13416d53246
2016-10-07 11:42:20 +09:00
Sebastian Hengst f357983a1e Backed out changeset 6281e90a180f (bug 1308076) 2016-10-11 10:41:12 +02:00
Chris Pearce b658ade315 Bug 1308076 - Mark WPT encrypted-media-generate-request-disallowed-input as expected fail. r=jwwang
It will pass once we re-sync from upstream, as the upstream test matches the
specified behaviour, whereas this test does not.

MozReview-Commit-ID: J16olE6QgP

--HG--
extra : rebase_source : 2df77567bfb31c5345627c551cfdcd8b14925ca9
2016-10-07 10:26:25 +13:00
Sebastian Hengst 256c9cf9ff Merge mozilla-central to autoland 2016-10-05 17:15:26 +02:00
Dan Minor b6a69257fd Bug 1306717 - Mach command for mochitests ignores --manifest option; r=ahal
MozReview-Commit-ID: E97QUfdG3sY

--HG--
extra : rebase_source : 15751667fa2d19e6d6bcd0b94aad96a6d1861740
2016-10-03 08:23:14 -04:00
Maja Frydrychowicz add5306b2e Bug 1304487 - Make incompatible mozharness actions a no-op when try syntax includes '--artifact'; r=armenzg
Rather than clearing actions in volatile_config, add in actions from the artifact config's
default_actions. Incompatible actions are then skipped based on 'forced_artifact_build'
config value.

MozReview-Commit-ID: IZuDvxcQ7cN

--HG--
extra : rebase_source : 265f973959d031617beb11852bb51e7d5f90c8bc
2016-09-30 14:15:52 -04:00
Phil Ringnalda 8f867e5756 Backed out 3 changesets (bug 1306691) for Windows mda bustage
Backed out changeset 3aa78ab9fce9 (bug 1306691)
Backed out changeset 2a95fbb01ffe (bug 1306691)
Backed out changeset c7d8bed34d87 (bug 1306691)
2016-09-30 18:39:22 -07:00
Gregory Szorc d31769f2a5 Bug 1289249 - Use os.lchown; r=garndt
See the inline comment for reason.

--HG--
extra : amend_source : 110e36fcc87c7d349ce79fa9bec1c787c4b027c4
2016-09-30 15:22:28 -07:00
James Graham 671103b4bf Bug 1305877 - Disable wpt navigation test causing hang later in the test run, r=gps
MozReview-Commit-ID: 6PA6WMeQzRv

--HG--
extra : source : 73ec477449bc70445a316b9c39d3a699e71820dd
2016-09-30 20:08:27 +01:00
Ted Mielczarek 4d7dfc04ee bug 1306662 - Make desktop-test and desktop1604-test pull minidump_stackwalk binary from the in-tree tooltool manifest. r=gps
Instead of having the desktop[1604]-test images currently bake in a
minidump_stackwalk binary from some random S3 URL, use the binary listed
in the in-tree tooltool manifest that we use for buildbot test jobs. As
a nice side-effect, this will ensure that the desktop-test images get
rebuilt whenever that manifest is updated with a new version, so they
will continue to use the right version in the future.

MozReview-Commit-ID: 6bThddwq6p1

--HG--
extra : rebase_source : 31111e1ae8c10a72c3635bc365babe7d5b1fb4e3
2016-09-30 13:17:20 -04:00
Gregory Szorc 0eea770763 Bug 1306691 - Remove install_method argument and uses; r=ted
Now that we've removed support for using easy_install, we no longer
need the "install_method" argument to specify how we want to install
packages since there is only one method: pip. So remove that code.

MozReview-Commit-ID: BmjerQtfHov

--HG--
extra : rebase_source : 44427108c5a043ed929747323ea539dcda10c1cb
2016-09-30 12:20:13 -07:00
Gregory Szorc 7c16bda557 Bug 1306691 - Remove support for easy_install; r=ted
Support for easy_install was added in bug 761809 as part of supporting
pywin32. We just removed support for pywin32. And there are no in-tree
consumers using the "easy_install" install method. Furthermore,
easy_install is effectively deprecated as a package install mechanism:
pip should always be used.

So, we remove support for easy_install from mozharness.

MozReview-Commit-ID: CN1meLukqY6

--HG--
extra : rebase_source : 883e427f0b5b634a519c3564dd31577e9b164414
2016-09-30 12:17:08 -07:00
Gregory Szorc 678865dd8d Bug 1306691 - Remove references to pywin32 package; r=ted
pywin32 was removed as a requirement to run Talos in bug 726700,
~3 years ago. The references in mozharness were never updated,
apparently.

MozReview-Commit-ID: FMYxLCNa63H

--HG--
extra : rebase_source : 424b9b301a1c615acd3fd221df50e10a6c00d2cb
2016-09-30 12:14:25 -07:00
Maja Frydrychowicz 7142f0b6dd Bug 1302152 - Make forced artifact builds on buildbot trigger test jobs; r=jlund
MozReview-Commit-ID: IANN4FwYklC

--HG--
extra : rebase_source : 8be3878c82fadcb728348bd286a345b80cc5e79e
2016-09-28 16:10:46 -04:00
Gregory Szorc 58e7e69839 Backed out changeset 22eee779473b (bug 1306662) for image generation failures 2016-09-30 10:41:48 -07:00
Ted Mielczarek 4b58ce6928 bug 1306662 - Make desktop-test and desktop1604-test pull minidump_stackwalk binary from the in-tree tooltool manifest. r=gps
Instead of having the desktop[1604]-test images currently bake in a
minidump_stackwalk binary from some random S3 URL, use the binary listed
in the in-tree tooltool manifest that we use for buildbot test jobs. As
a nice side-effect, this will ensure that the desktop-test images get
rebuilt whenever that manifest is updated with a new version, so they
will continue to use the right version in the future.

MozReview-Commit-ID: 6bThddwq6p1

--HG--
extra : rebase_source : eafefb980fe398dda435ad066145ffb8d7003d8f
2016-09-30 13:17:20 -04:00
Gregory Szorc 750acdce28 Bug 1289249 - Add run-task to desktop-build image; r=dustin
run-task is our new universal wrapper for executing tasks. Add it
to desktop-build.

MozReview-Commit-ID: BCYHVRdUopQ

--HG--
extra : rebase_source : e2106b76c222a410920086faecad4d45833ff73c
2016-09-28 20:12:08 -07:00
Gregory Szorc 0d70cd21b6 Bug 1289249 - Add volumes for Mercurial checkouts; r=dustin
In preparation for switching desktop-build to use run-task and
its VCS management.

MozReview-Commit-ID: 17WBMQhJxaV

--HG--
extra : rebase_source : a79709f5164687782b540c356c3888ee4e298fbc
2016-09-28 20:53:43 -07:00
Gregory Szorc 71611a56fe Bug 1289249 - Install Mercurial 3.9.1 in desktop-build; r=dustin
As part of this, we had to teach install-mercurial.sh to detect
CentOS and install from RPM or source. While we can support
installing from an RPM on CentOS 6, this code is currently disabled
because the RPM we have is built against Python 2.6, which doesn't
support TLS 1.2. Since we have Python 2.7 on the image and this
Python 2.7 install supports TLS 1.2, we build Mercurial from source
using this Python 2.7 install.

We also added a "system setup" shell script. This matches the
conventions used for the desktop-test images.

MozReview-Commit-ID: 7cHN54n7aQF

--HG--
extra : rebase_source : b8ccddf0da76e94ac4064786f3b0ffa0719c9078
extra : source : cc6b486fb6bf92a408fb608283ecd8de4c4419c2
2016-09-29 17:54:04 -07:00
Gregory Szorc c78fa369fd Bug 1289249 - Extract tooltool_fetch to its own shell script; r=dustin
I will add more stuff to common.sh in the future in order to justify
its existence. Not in this bug though.

MozReview-Commit-ID: Lx7MJwBMH0w

--HG--
extra : rebase_source : fe6f51a9b6910abd9dedfda54c0bc8ebd3c3551e
2016-09-28 21:45:25 -07:00
Gregory Szorc 2df70dad2c Bug 1289249 - Use vendored tooltool in desktop-build image; r=dustin
Vendoring: more reliable, more determinism, more secure.

MozReview-Commit-ID: BYUUj4ZpndD

--HG--
extra : rebase_source : 4a1125efcca1fb50d5c191d3aadb0d11d442b628
2016-09-28 21:54:21 -07:00
Gregory Szorc f2f87ae278 Bug 1289249 - Add argument to perform build/tools checkout; r=dustin
Build tasks currently require a checkout of the build/tools repository.
I wish this weren't true and that all files references from this repo
were part of mozilla-central or tooltool, but that's how things are.

In preparation for running build tasks with run-task, teach run-task
to perform a checkout of the build/tools repo. Ideally we'd support
configuring the URL to this repository. But I'm not implementing that
since I'd prefer we stop relying on the build/tools repo.

MozReview-Commit-ID: B2Y1NwS3niO

--HG--
extra : rebase_source : bcad2f101e94411a5defd655247ed4ace250a852
2016-09-29 18:49:07 -07:00
Gregory Szorc d15f73d454 Bug 1289249 - Make version control interaction generic; r=dustin
Previously, we assumed we only could have a single version control
checkout: Gecko/Firefox. The code reflected this by not passing
arguments to the vcs_checkout function.

Upcoming commits will introduce the need to perform a checkout of the
build/tools repository. In preparation for this, refactor the VCS
functionality so it is generic and can work on any repo.

MozReview-Commit-ID: B0Act9fz2Ee

--HG--
extra : rebase_source : 512d0ccb15adce5ed95c4623562eb47535aef29b
2016-09-29 17:05:05 -07:00
Gregory Szorc a357da47f8 Bug 1289249 - Set permissions of parent directory during --chown-recursive; r=dustin
os.walk() won't explicitly yield the root directory. So we need to
update it explicitly when doing a recursive chown.

MozReview-Commit-ID: JC0PNsk5gFK

--HG--
extra : rebase_source : ddfd437cd5e6bffb8780baf23813b88dd06e471d
2016-09-29 10:07:21 -07:00
Andreas Tolfsen b4bfad9e93 Bug 1302707 - Set the default page loading- and script timeout; r=automatedtester
The WebDriver specification mandates that the page loading timeout must
be five minutes, and the script timeout 30 seconds.

MozReview-Commit-ID: E82jGXCb2ch

--HG--
extra : rebase_source : e1015cbf1cb01b7b48948592be9a022b87670118
2016-09-28 17:32:36 +01:00
Andreas Tolfsen b2605976f0 Bug 1302707 - Fix type check to allow page loading timeout of 0; r=automatedtester
The `get` function in testing/marionette/listener.js used an evaluated
if-condition test to determine if a page timeout was given.  This would
fail if passed 0 because 0 evaluates to false in JavaScript.

This patch fixes the incorrect type check by looking at whether the
variable has been defined or not.

MozReview-Commit-ID: 39vDZRjKAFb

--HG--
extra : rebase_source : f8100e05f9b1165e20b5aaab6e89b09fd110b3d2
2016-09-27 13:07:28 +01:00
Andreas Tolfsen a8388f63d6 Bug 1302707 - Unignore test that expects timeout error; r=automatedtester
MozReview-Commit-ID: 6QK1bcFhTHB

--HG--
extra : rebase_source : a392b2830994f8858111cfa2946e72c937a6f4c2
2016-09-26 18:15:03 +01:00
Andreas Tolfsen 72ed57b167 Bug 1302707 - Add test for Marionette:timeouts compat behaviour; r=automatedtester
The input type for the `ms` field when passing the old JSON schema that
puts Marionette into the backwards compatible behaviour, accepts string
types that are `parseInt`ed into an integer.  This change adds a test
for this.

MozReview-Commit-ID: GJ3ibit7tyG

--HG--
extra : rebase_source : f8ddc6fa46f8917afd650eeabdaf2916c5a3bc04
2016-09-26 18:10:30 +01:00
Andreas Tolfsen ea075a7680 Bug 1302707 - Correct Marionette tests to match API changes; r=automatedtester
MozReview-Commit-ID: BXXdFbfTKi4

--HG--
extra : rebase_source : 6f75fe815f8c0079c1b4fe0f7e30b3f2460ce3d9
2016-09-14 18:15:48 +01:00
Andreas Tolfsen 1d60861616 Bug 1302707 - Replace uses of Marionette.timeouts with set_page_load_timeout in tests; r=automatedtester
MozReview-Commit-ID: CrG4XdGjw5E

--HG--
extra : rebase_source : dff3f1391f7c70c4547f8af870a16268f6f715dc
2016-09-14 18:15:16 +01:00
Andreas Tolfsen 046f7fc75d Bug 1302707 - Correct input types for timeout function; r=automatedtester
MozReview-Commit-ID: 9472W84MTGQ

--HG--
extra : rebase_source : 0500ae57c5c5890039e7ed7d3736f42f4fdd0b0c
2016-09-14 18:14:38 +01:00
Andreas Tolfsen 656cc02f10 Bug 1302707 - Reuse Marionette.reset_timeouts in harness; r=automatedtester
MozReview-Commit-ID: HjxRViFdiRU

--HG--
extra : rebase_source : b545e7a94d942a90b508c14747b71792fd8c88b9
2016-09-14 18:13:52 +01:00
Andreas Tolfsen 0ff2cb2a90 Bug 1302707 - Add Marionette.set_page_load_timeout and adjust to new driver API; r=automatedtester
MozReview-Commit-ID: 939khISAOcU

--HG--
extra : rebase_source : e178c5b0c05f48dc571c5efa8368dd8ec91f62f3
2016-09-14 18:13:06 +01:00
Andreas Tolfsen 4adae86849 Bug 1302707 - Remove Marionette.timeouts from client; r=automatedtester
MozReview-Commit-ID: 55GvsFwLwDK

--HG--
extra : rebase_source : e371fc1de75254d669b3b740f40bbacb9a618947
2016-09-14 18:11:22 +01:00
Andreas Tolfsen e75b453f9d Bug 1302707 - Make GeckoDriver#timeouts spec compatible; r=automatedtester
MozReview-Commit-ID: 7vLVbKKuZNV

--HG--
extra : rebase_source : 89486120bad972c26db6df89fc5533036016b378
2016-09-14 18:10:22 +01:00
Andreas Tolfsen 2f680da372 Bug 1302707 - Remove GeckoDriver#setSearchTimeout; r=automatedtester
MozReview-Commit-ID: KNx1mpM1CfV

--HG--
extra : rebase_source : d720c48e42cdadc4532f5352d8ba776f1ba12a49
2016-09-14 18:09:09 +01:00
Andreas Tolfsen d91c4614bb Bug 1302707 - Remove GeckoDriver#setScriptTimeout; r=automatedtester
MozReview-Commit-ID: 3GVLpjd4LDP

--HG--
extra : rebase_source : c5a12a67ad757b58b507bc63dc5e41aa456fd6e1
2016-09-14 18:08:20 +01:00
James Graham b43e2309b3 Bug 1303417 - Fix reading of request parameters in wpt cors test, r=Ms2ger
MozReview-Commit-ID: HEzqkDEncDj

--HG--
extra : rebase_source : 9bcba729edc3b9c0cc6ae9bab505f89a862643a5
2016-09-16 19:40:34 +01:00
Carsten "Tomcat" Book 6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Phil Ringnalda 0c8caac0ab Backed out 2 changesets (bug 1305836) for causing the failure rate of browser_bug880101.js to explode
Backed out changeset 578a4588fb7c (bug 1305836)
Backed out changeset 89a22098629e (bug 1305836)
2016-09-29 21:19:55 -07:00
Armen Zambrano Gasparnian 4376c75ee1 Bug 1306189 - Add proper signature + better logging + stop trying to upload the corrupted file. r=dustin
MozReview-Commit-ID: EBsIFuXN3E7

--HG--
extra : rebase_source : 827be8246ca53008bd1de4afc08a3e1b9e0bc2b1
2016-09-29 11:08:27 -04:00
Gregory Szorc 27658c5d4c Bug 1306421 - Don't use proxxy if running in TaskCluster; r=armenzg
Proxxy is only configured in buildbot land. Don't enable it in
TaskCluster.

Ideally, we'd only enable proxxy if we detect we're in a buildbot
environment. But the change in this commit is more conservative
and aligns with existing behavior.

MozReview-Commit-ID: HBCdQ6MkYGa

--HG--
extra : rebase_source : 08c753d7af7a4ee95c557d9deb6401c4f2da4547
2016-09-29 13:05:57 -07:00
Gregory Szorc 6286818e67 Bug 1306421 - Add is_taskcluster to ScriptMixin; r=armenzg
So we can detect when we're running on TaskCluster. This will
be used to adjust environment settings accordingly.

MozReview-Commit-ID: JEG1E3tWsc5

--HG--
extra : rebase_source : 2acb70bd9accbde44ccb8530002ba1e892b94ce2
2016-09-29 12:50:57 -07:00
Armen Zambrano Gasparnian 35b5f1e97b Bug 1299702 - Add win32 artifact configs r=chmanchester
MozReview-Commit-ID: FfG0brRzeMv

--HG--
extra : rebase_source : 5b7bfcee313c4ecc2fe5c2c4adaf49d591d6dd26
2016-09-23 16:31:19 -04:00
Maja Frydrychowicz a13fe7b93a Bug 1299702 - Add mac64 artifact configs r=chmanchester
MozReview-Commit-ID: 5UmCwp4JjOo

--HG--
extra : rebase_source : 0262fd99d94a6e77c26d2da94b0eaaf3adc75ad1
2016-09-27 20:54:57 -04:00
Maja Frydrychowicz 22a1e37da6 Bug 1299702 - Add win64 artifact configs r=chmanchester
MozReview-Commit-ID: BtKTGX6Ahtz

--HG--
extra : rebase_source : 2e1a0fa322515ecaeef582fb653a21bda10d8c1e
2016-09-27 20:54:44 -04:00
Maja Frydrychowicz 346ac09671 Bug 1299702 - Add linux32 artifact configs r=chmanchester
MozReview-Commit-ID: 9mRJcy1c2el

--HG--
extra : rebase_source : 6d0c66ad5964c361b17b1455bafd7a4eb0724845
2016-09-09 10:48:40 -04:00
Andrew McCreight 98ed39e5ce Bug 1305836, part 2 - Remove openedWindows, openedURLs and onDocumentCreated. r=jgriffin
These are now unused.

MozReview-Commit-ID: 45uvWvK8vSo

--HG--
extra : rebase_source : 102d7fc1da2797f21886f018bf5cbd2c4540b081
2016-09-27 14:14:59 -07:00
Andrew McCreight c8a1d4275b Bug 1305836, part 1 - Remove CCAnalyzer leak checker. r=jgriffin
This leak checker may be triggering a shutdown leak on Windows,
doesn't work with e10s, and should not be needed now that ttaubert
fixed the ++DOMWINDOW leak detector to work.

The additional GCs and CCs this patch adds used to be run as part of
cc-analyzer.js, and are needed to avoid window leaks in tests.

MozReview-Commit-ID: IzZI6h2SCr2

--HG--
extra : rebase_source : 191335abb9abf48c5be0eb48db7cf8629e798918
2016-09-27 13:06:37 -07:00
James Graham 2cbfbc0ec6 Bug 1265582 - Fix reftest structured logs to match wpt, r=ahal
This allows the logs to work with the structured reftest viewer.

MozReview-Commit-ID: CY71vSdDjLP

--HG--
extra : rebase_source : 6b83d98aff1c5e73ac0a802b5a83b8be95adf59a
2016-09-27 22:54:50 +01:00
Phil Ringnalda 1e9431539b Merge m-c to autoland 2016-09-29 07:39:46 -07:00
Phil Ringnalda d1276b5b84 Backed out changeset 7dac104b94de (bug 1141483) for WinXP permaorange in test_quit_restart.py 2016-09-29 07:38:59 -07:00
Carsten "Tomcat" Book 5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Cameron McCormack 75460a4e5e Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Robert Longson 22f105c045 Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
James Graham 51231829ad Bug 1304046 - Update expected data for WebDriver tests, r=ato
MozReview-Commit-ID: BPcyI8o0tlw

--HG--
extra : rebase_source : 4de4452c41a0893369cf27abfdd0b891d7fa821d
2016-09-27 19:59:36 +01:00
James Graham ffbb3958e1 Bug 1304046 - Pass absolute test path in to pytest, r=Ms2ger
MozReview-Commit-ID: 5XpFQoNPP5t

--HG--
extra : rebase_source : ad147c9770859360e120c8c5b5c0c58d3b8ae97e
2016-09-23 16:09:45 +01:00
James Graham f74badcbd1 Bug 1304046 - Update geckodriver command line arguments for v0.11, r=ato
MozReview-Commit-ID: QIBvXwOd2c

--HG--
extra : rebase_source : fe1ea2ba398d08dc4aa8131b84ecea55cfbe3233
2016-09-23 13:25:34 +01:00
James Graham 8811a93c2d Bug 1304046 - Add wdspec support to mozharness, r=ahal
Downloads geckodriver from tooltool when wdspec tests are being run,
and adds the --webdriver-binary argument

MozReview-Commit-ID: AJeP0YDk7Yl

--HG--
extra : rebase_source : 497f25c5af32b1851adf3a6f0b90a20640b6ccc6
2016-09-21 14:14:14 +01:00
Armen Zambrano Gasparnian f76322d299 Bug 1303668 - Failing to find a symbols url should be a warning instead of a exception. r=whimboo
Failing to find symbols in this case should be turned into a warning rather than dumping the traceback
since we're going to rely on mozcrash doing the right thing later on.

This will reduce unnecessary reporting of symbols not being available.

MozReview-Commit-ID: GXO01B7vzGV

--HG--
extra : rebase_source : 99ff82ffca6eed209ce6fd31ab747239d7100516
2016-09-23 13:53:30 -04:00
Gregory Szorc 66779f5fbc Bug 1305598 - Ensure parent directory of virtualenv directory exists; r=maja_zf
The virtualenv is placed in the "work dir" by default. If we
clobber the "work dir" at the beginning of the job, the parent
directory of the virtualenv may not exist and virtualenv creation
will fail because we set cwd to the work dir.

Fix that by ensuring the work dir / cwd always exists when
creating the virtualenv.

MozReview-Commit-ID: FAZPP1Sm22k

--HG--
extra : rebase_source : 126443cbcd5c83aeb47848bfc90ae28be9c9f596
2016-09-28 13:41:51 -07:00
Mantaroh Yoshinaga 32ca318289 Bug 1302038 part 2 - Add DocumentTimelineOptions dictionary. r=birtles,smaug
MozReview-Commit-ID: 6i0PafTmFFo

--HG--
extra : rebase_source : 7c572ed3a94eda250928019b7403ab6b28eafc0b
2016-09-28 16:56:24 +09:00
Mantaroh Yoshinaga a8d0ee0293 Bug 1302038 part 1 - Add DocumentTimeline constructor tests. r=birtles
MozReview-Commit-ID: 578CGTBiBlv

--HG--
extra : rebase_source : 8fb05c222b6cebd1c6d724611bc61baf236d2cde
2016-09-28 16:56:18 +09:00
Gregory Szorc bcfb9c32ee Bug 1305910 - Use vendored robustcheckout.py; r=dustin
When we initially implemented support for robustcheckout, we didn't
have the magic "%include" syntax in Dockerfiles. So we used tooltool
to download robustcheckout.py to the image.

Now that we have nice things, we can use the vendored robustcheckout.py
file.

As part of this, I realized we're inconsistently using /tmp, /setup
and /build for files used during image building. That should probably
be cleaned up. I'd rather not bloat scope for this bug, however.

MozReview-Commit-ID: D99Gcdw1DId

--HG--
extra : rebase_source : 3f361da3088988423b50786d990afba662d297d2
2016-09-27 20:05:54 -07:00
Gregory Szorc e00bae48b7 Backed out changeset 1418ec10eda2 (bug 1303668) for mozharness bustage 2016-09-28 15:24:59 -07:00
Gregory Szorc c32c3f3551 Bug 1305910 - Vendor latest version of robustcheckout; r=me
From changeset 3282813aa892f0fc247181a33ce0bde2b751da50 from the
version-control-tools repo. File added without modifications.
Upstream change was peer reviewed.
2016-09-28 14:59:30 -07:00
Armen Zambrano Gasparnian ad79e3943b Bug 1303668 - Failing to find a symbols url should be a warning instead of a exception. r=whimboo
Failing to find symbols in this case should be turned into a warning rather than dumping the traceback
since we're going to rely on mozcrash doing the right thing later on.

This will reduce unnecessary reporting of symbols not being available.

MozReview-Commit-ID: GXO01B7vzGV

--HG--
extra : rebase_source : 5fa15dcf89bedea2b4e6ff52f6d06461fe5e208d
2016-09-23 13:53:30 -04:00
Kirk Steuber 2b313fc731 Bug 1206133 - Fix browser chrome mochitests broken by the popuppositioned patch. r=enndeakin
MozReview-Commit-ID: F3F9L2rXcys

--HG--
extra : rebase_source : 1546780dc817f4a56e590729db3603ba65206047
2016-08-19 14:31:43 -07:00
Thomas Wisniewski c190891418 Bug 1303121 - Do not fire one last progress event on XHR errors, to match a spec change. r=annevk
--HG--
extra : rebase_source : 9a59934cfe8fc7f2ee8ef7788813f97e2355ce2a
2016-09-28 13:05:32 -04:00
Josh Matthews 746c91d87a Bug 1268182 - Allow image loads to short-circuit after selecting a source if the new source URL matches the previous one URL. r=echen
--HG--
extra : rebase_source : 0549f97a654bb1d4983aac0e93e30f1a1fc5864e
2016-09-26 14:17:38 -04:00
Aaron Klotz 6552467db2 Bug 1296033: Re-enable test_accessibility.py and test_about_pages.py on Windows e10s; r=automatedtester
MozReview-Commit-ID: GnXD0Vr68DX
2016-09-26 18:26:15 -06:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Carsten "Tomcat" Book c084656336 merge fx-team to mozilla-central a=merge 2016-09-28 15:55:25 +02:00
Phil Ringnalda 398815ad9b Backed out changeset 490c671f8047 (bug 1303121) for failures in test_CrossSiteXHR.html 2016-09-27 22:39:00 -07:00
Tooru Fujisawa fd9e045dcb Bug 1304970 - Check encoding of js.msg-like files. r=jandem,gps 2016-09-28 14:12:54 +09:00
Dale Harvey b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Carsten "Tomcat" Book 8b57d873a0 merge fx-team to mozilla-central a=merge 2016-09-27 11:19:36 +02:00
Florian Quèze 9e57c17532 Bug 1305075 - Stop shipping filepicker.css and filepicker.xul on Mac and Windows, r=Gijs. 2016-09-26 18:34:06 +02:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Maja Frydrychowicz 7cd9774674 Bug 1305720 - Check for --artifact try syntax regardless of is_automation value; r=armenzg
Check try message for --artifact even if fx_desktop_build.py is run with
--skip-buildbot-actions

We can't rely on buildbot config. Add checks to TryToolsMixin._extract_try_message so
that it works even if self.buildbot_config is None.

MozReview-Commit-ID: 1xErjuOArBe

--HG--
extra : rebase_source : 2f3204b37e67fd9a77dbff0fa93ab894b08181c1
2016-09-23 14:36:09 -04:00
Phil Ringnalda 3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Gregory Szorc a46a97380c Bug 1147548 - Update hg fingerprint in merge day scripts; r=Callek
These are the only 2 definitions of the hg.mozilla.org certificate
fingerprint in mozilla-central. The certificate changed on
2016-09-26. So update the fingerprints.

This /might/ be a cargo cult because automation should be pinning
the hg.mozilla.org certificate everywhere. An alternative to this
commit would be to remove the fingerprint pinning from these
scripts. But if these scripts are run by humans, we may want to keep
the pinning in.

MozReview-Commit-ID: 4FUhAGc2oqx

--HG--
extra : rebase_source : fa8889ffbb70c14270acde67121192f7c1932258
2016-09-26 08:42:40 -07:00
Armen Zambrano Gasparnian 2b2c92160b Bug 1300663 - Catch HTTPError when query for symbols url. r=jlund
If we don't catch HTTPError, the whole job fails since we get an uncaught exception.

MozReview-Commit-ID: 8jwW7ZSieyC

--HG--
extra : rebase_source : a184fe32bb73e786bd874a1c5f298d2b2c0bca83
2016-09-23 13:37:58 -04:00
Thomas Nguyen c6e92c6fe6 Bug 1276836 - Update web-platform-test same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=jdm
MozReview-Commit-ID: 8EqeqhgjYTG

--HG--
extra : rebase_source : b8b807cd58875f07b9c622c1ce1b5ae92ddbc813
2016-09-22 16:27:51 -07:00
Thomas Wisniewski fb058e68f6 Bug 1303121 - Do not fire one last progress event on XHR errors, to match a spec change. r=annevk 2016-09-15 14:19:23 -04:00
Ryan VanderMeulen 10262ed0cb Backed out changeset 4bdbbae12cb3 (bug 918719) for causing webcompat issues.
--HG--
extra : rebase_source : 58d99de7d9ee9e32383b9d18e4fb80a1bc59d0ad
2016-09-27 15:58:01 -04:00
Kate McKinley c57d400961 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX

--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -04:00
Wes Kocher 887e651a5f Backed out 6 changesets (bug 1189901) for Windows talos g1 and s failures a=backout CLOSED TREE
Backed out changeset 14660f4f2b23 (bug 1189901)
Backed out changeset 647db9f59d9e (bug 1189901)
Backed out changeset 926a610af8a7 (bug 1189901)
Backed out changeset 610b70634239 (bug 1189901)
Backed out changeset 866c0244a7c1 (bug 1189901)
Backed out changeset 081c6b4986a9 (bug 1189901)
2016-09-27 11:09:34 -07:00
Avi Halachmi 70c11a1c65 Bug 1189901: part 6: add signed pageloader addon. r=jmaher 2016-09-27 16:43:37 +03:00
Avi Halachmi 513a31e25f Bug 1189901: part 5: add CSSOM scroll test - uses APZ when available. r=kats 2016-09-27 16:43:37 +03:00
Avi Halachmi 3d24ad8f2c Bug 1189901: part 4: scroll: report custom test name. r=jmaher 2016-09-27 16:43:37 +03:00
Avi Halachmi b261d4517e Bug 1189901: part 3: talos-powers: add generic ParentExec. r=mconley 2016-09-27 16:43:37 +03:00
Avi Halachmi b29aeabfb3 Bug 1189901: part 2: scroll-tests: serialize asyncs with Promises. r=mconley 2016-09-27 16:43:37 +03:00
Avi Halachmi cc4bbce3d9 Bug 1189901: part 1: remove code redundancy between tscrollx and tp5o_scroll. r=jmaher 2016-09-27 16:43:36 +03:00
Avi Halachmi d4aabe37f6 Bug 1305489: talos: pageloader: scrolltest: fix where the URL contains %. r=jmaher 2016-09-27 13:52:01 +03:00
Carsten "Tomcat" Book ceb8695fd3 Merge mozilla-central to mozilla-inbound 2016-09-27 11:26:17 +02:00
Gregory Szorc caa0d851ed Bug 1304964 - Invoke `hg` with PYTHONUNBUFFERED=1; r=dustin
Python processes with a TTY have stdout line buffered by default.
Python processes without a TTY have buffered output.

Mercurial inherits whatever Python's output buffering behavior is.
This means if we invoke Mercurial without a TTY, stdout and stderr
will be fully buffered. This means output may not be sent until
there is enough output to flush the output buffer.

A consequence of this is that timings reported for `hg` commands
invoked by run-task are inaccurate. In addition, output order is
incorrect. This is because Mercurial's progress indicators print
to stderr and flush when written. This means stderr output is
getting seen by run-task but stdout remains buffered.

This commit forces Python/Mercurial to not buffer stderr and stdout
by setting the PYTHONUNBUFFERED=1 environment variable.

MozReview-Commit-ID: 7lMdrjRMBqz

--HG--
extra : rebase_source : 198ced0053fe6071a45c9df8b044b24983c225cc
2016-09-22 23:33:01 -07:00
Gregory Szorc 5fddd4bf5e Bug 1304176 - Document and refactor query_virtualenv_path; r=ted
We don't need a variable to hold the result. Just use return.

The "virtualenv_path" option has a default value, so it should always
be set. Add code confirming that. And refactor the code to use
less indentation. And remove a branch that can never occur since
the virtualenv path is guaranteed to be defined.

MozReview-Commit-ID: DZ6LnlxZJFj

--HG--
extra : rebase_source : 46682e9d33beb43e0b4fc181b9163afd373e7f70
2016-09-20 14:59:14 -07:00
Gregory Szorc 3fd85079b9 Bug 1304176 - Remove --venv-path as an alias to --virtualenv-path; r=ted
Not sure why we support this. The code goes all the way back to the
import of mozharness 0.4 into the old mozharness Mercurial repo in
bug 651974.

Having fewer variations makes it easier to search for usage. So nuke
the variation.

MozReview-Commit-ID: IgwLMdvXGB0

--HG--
extra : rebase_source : 0f9e25b2d23a670154a024eee0264b545606cc80
2016-09-20 14:46:52 -07:00
Gregory Szorc 0d16755c72 Bug 1304176 - Remove PIP_TRUSTED_HOST and trust-host pip.conf option; r=ted
The Python code is now intelligent enough to add this flag on the
command line if supported. Eliminate the copy pasta and help prevent
cargo culting.

MozReview-Commit-ID: H4rbjbbgtRd

--HG--
extra : rebase_source : 2f3acf666d73260ed97ad877f365b3091186f9e2
2016-09-20 14:02:08 -07:00
Gregory Szorc 0f53b2ae0d Bug 1304176 - Use vendored virtualenv if available; r=ted
If mozharness is running from a source checkout, it has access to a
modern virtualenv+pip/setuptools vendored as part of the source
checkout.

This commit changes the virtualenv creation code to use the vendored
virtualenv when it is available.

A side effect of this change is that a modern version of pip will
now be used by mozharness when a source checkout is available. This
has a number of consequences.

First, modern versions of pip automatically create and cache wheels
when building packages. This should make automation faster since it can
now reuse cached wheels instead of having to download and rebuild
packages all the time.

Second, modern versions of pip support pinning package hashes. This
opens the door to use having more secure package downloads and more
determinism in our test environment.

Third, modern versions of pip require connections to package servers
be secure by default. Plaintext connections are disallowed by
default. A --trusted-host option or environment variable can be used
to override this behavior.

Since upgrading pip resulted in some jobs failing due to disallowed
connections to insecure servers, code to sniff the pip version and
add --trusted-host where it is needed/supported. This retains the
existing behavior. This is insecure. But fixing that is for another
bug.

As part of testing this, we were getting IOError inside virtualenv.py
when installing distutils:

IOError: [Errno 13] Permission denied: '/builds/slave/test/build/venv/lib/python2.7/distutils/__init__.py'

We worked around this by adding --always-copy to the virtualenv.py
invocation.

MozReview-Commit-ID: D29ao9ZASei

--HG--
extra : rebase_source : 031b2561a64ab1f89d25a3bfb8cf486a58b9f308
2016-09-20 21:19:56 -07:00
Gregory Szorc 3a2961b5de Bug 1304176 - Use vendored tooltool.py if available; r=ted
Now that we can detect when we're running from a source checkout,
we can start using things from source checkouts instead of relying
on host machine state or grabbing files from another server.

We start by using the vendored tooltool.py if available. This
avoids non-determinism. It avoids a possible 3rd party hosting
dependency on github.com. It avoids a possible MitM attack vector.
Wins all around.

MozReview-Commit-ID: L6hLveHZxBR

--HG--
extra : rebase_source : 67cc9d53fc0b3f92710ce41cc9f6556aa3ebbf99
2016-09-20 12:36:33 -07:00
Gregory Szorc d075b95eeb Bug 1304176 - Set BaseScript.topsrcdir if we have a source checkout; r=ted
We're going to start executing more mozharness scripts from a source
checkout. Rather than add config options to specify the location of
a source checkout - something that must be added to every mozharness
invocation - we teach BaseScript.__init__ to recognize when we're
running from a source checkout and set self.topsrcdir accordingly.

This will allow any script or class to check for self.topsrcdir
and change behavior accordingly.

MozReview-Commit-ID: 3uxOjol7ntR

--HG--
extra : rebase_source : 40795fe231a908b42a13581db3ee079c13138412
2016-09-20 11:28:52 -07:00
Gregory Szorc d580a24fa9 Bug 1304282 - Disable output buffering from mozharness spawned processes; r=ted
Without this, process output is buffered by default. This means
timestamps that mozharness prefixes to process output aren't
accurate unless the process is spewing enough output to flush the
output buffer.

Output buffering could lead to bad things. For example, a process
could emit output that would cause mozharness's output monitor to
abort the process. However, if that output is caught in limbo in
the output buffer, mozharness may take several seconds or even
minutes to react.

With this change, the mozharness process receives process output
as soon as that process writes to its standard file descriptors.
Once a newline is seen, mozharness will process it immediately.

Note that this only impacts the case where there is no output
timeout, as the existing code for output timeout uses mozprocess
and I'm pretty sure mozharness doesn't buffer output.

MozReview-Commit-ID: HBkYnfEw7Hb

--HG--
extra : rebase_source : e17b44d88f27c16b054a64c3cc2b3415297daf3b
2016-09-20 23:04:37 -07:00
Grigory Kruglov 1e4e8c6e6e Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian
MozReview-Commit-ID: KDimL7VeEA2

--HG--
extra : rebase_source : 713c680827562400d814ad32233b96d1a47a101a
2016-09-22 14:31:01 -07:00
Carsten "Tomcat" Book a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
Andrew Osmond 827be06e62 Bug 1007702 - Enable skia on nighly for unaccelerated windows. r=lsalzman 2016-09-21 13:51:51 -04:00
Henrik Skupin 401257b7ed Bug 1301334 - Package Marionette tests via moz.build entries r=gps
Move packaging for Marionette from make to test_archiver by using root manifest files.

MozReview-Commit-ID: 1cxEBYQeJ2Z
**

--HG--
extra : rebase_source : 372a407d9207bfbccbfb88c689df60b8cc1abcaf
2016-09-20 18:05:43 +02:00
Chris Manchester 160e0a36f6 Bug 1282522 - Ensure stderr is printed in case of a shutdown crash in a passing xpcshell test. r=gps
There were two assumptions preventing this output from being logged, both
related to the case a test passes and xpcshell returns 0. The first was
that we would not find crash dumps in this case, and would therefore not
need to log the full output of the test process (in the case xpcshell
returned non-zero or a test failed, we would log this output prior to checking
for crashes). The second was that if a test was eligible to retry, we wouldn't
need to store a test's output at all, because this output would only relate to
a failure that we would consider non-fatal.

The first assumption does not hold because it's possible to fatally assert
at shutdown in tests spawning child processes without causing a test failure
or non-zero exit code.

The second assumption followed from the first, and is violated when the first
is violated, because in this case we would consider a found crash fatal even
when a test was eligible to retry.

This patch reverses these assumptions and logs the full output of a test that
passes but produces crash dumps. It's not clear that the existing code intended
for a crash to ever be considered fatal when a test was eligible to retry, but
to change this criteria now would reduce our effective test coverage by
ignoring crashes that are now considered fatal, so after this patch we continue
to consider this scenario fatal. If it is determined these crashes are related
to these tests running in parallel with other tests, or they are not relevant
for some other reason, these tests should be run sequentially, or this criteria
should be changed.


MozReview-Commit-ID: 2PaFSGx2MVR

--HG--
extra : rebase_source : 34c0d1f13f4256928906729b1f3667bc395b2c56
2016-09-12 23:02:44 -07:00
Henrik Skupin c2299ca0e0 Bug 1303497 - Fix failure in test_window_management.py for new window checks. r=maja_zf
MozReview-Commit-ID: DbkRrRQvlTb

--HG--
extra : rebase_source : 441b5681635f8b3d2360e475cce2ce9414c4c0ef
2016-09-22 18:22:08 +02:00
Masayuki Nakano c29d9ac401 Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure r=smaug
We can assume that if middle button's click event on a link isn't consumed by any event handlers including system event group's, it will cause open new tab.  With this assumption, we can avoid using setTimeout which causes random orange.

However, unfortunately, in e10s mode, the default is NOT consumed at window in bubbling phase but consumed at that time. So, when not working the link is expected, we cannot check Event.defaultPrevented.  But fortunately, we can check if the page is loaded after that.

Note that for testing this, the test needs to check if an event handler which is either in default group or system group consumed a click event.  However, this runs as mochitest-plain.  Therefore, Event.defaultPrevented returns false if the event is consumed only in the system group's event listener.  For avoiding this issue, this patch adds defaultPreventedInAnyGroups() into SpecialPowers.  In SpecialPowers, Event.defaultPrevented is accessed from chrome context.  Therefore, we can get the result what this test needs.

MozReview-Commit-ID: Cfn4lFR1dfI

--HG--
extra : rebase_source : 51feb768bd38f62cc19c2f4aecaaea0135190599
2016-09-22 10:54:51 +09:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Wes Kocher 765926408d Backed out changeset e1d144423657 (bug 1280571) for making leaks hard to diagnose a=backout CLOSED TREE 2016-09-21 16:56:50 -07:00
Phil Ringnalda b9ee856eba Backed out changeset ae50c61cb134 (bug 1264367) for breaking crash stacks on at least Android and Linux 2016-09-21 13:26:24 -07:00
Wes Kocher 4fec8fe947 Backed out changeset 7e898928c51b (bug 838954) for lint failures a=backout CLOSED TREE 2016-09-21 12:44:31 -07:00
Tom Schuster 2f144c36e0 Bug 1299593 - Disable Array.prototype.values outside Nightly. r=jorendorff, r=smaug
--HG--
extra : rebase_source : 976a15181c0d263b62094a1524b8a27cf7c1fc4d
2016-09-21 11:53:00 -04:00
John Dai 2e88ad8701 Bug 1275832 - Implement custom element name validation for custom elements. r=wchen
--HG--
extra : rebase_source : e3c3adef09a3b5ae6f8ecb508ef782a9b39998c0
2016-09-20 23:26:00 -04:00
Maja Frydrychowicz 06f8ae2120 Bug 1278702 - Fail early in compiled-code tests with --artifact Try syntax; r=armenzg
MozReview-Commit-ID: 84IZn2Qpvk4

--HG--
extra : rebase_source : 67bb1930dc740f490884af4677017dee8ea506ba
2016-09-20 13:43:06 -04:00
Maja Frydrychowicz 59cb034070 Bug 1278702 - Error out when compiled-code test is requested with artifact build; r=chmanchester
MozReview-Commit-ID: Es66ZuFq6PJ

--HG--
extra : rebase_source : 06b0ca116023c011aa3ba71803396223e2c8df0c
2016-09-21 14:22:34 -04:00
CuriousLearner ad54592778 Bug 1298800 - Add support for callbacks to restart() and quit() methods of Marionette; r=whimboo
MozReview-Commit-ID: CIiGOCkQs48

--HG--
extra : rebase_source : 23e578a851ab74a0ea25cf76c274e9e7849e0adc
2016-09-21 21:53:12 +05:30
Wes Kocher b39fcf65f2 Backout revisions b80d560e0102 and fc593dd9a280 (bug 838954) a=backout
--HG--
extra : source : 7008e3ee291ec274025d72ebd157eef7588da291
2016-09-21 11:42:16 -07:00
Gabriele Svelto b3a7e5c8a0 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-21 17:44:50 +02:00
Prabhjyot Singh Sodhi 58b6130e52 Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal
This also adds E402 (no imports at top of file) to the global ignore list. The
other error codes added were previously ignored by default, but now that we
have started a custom ignore list, need to be listed explicitly.

MozReview-Commit-ID: RtMuVEX6i5

--HG--
extra : rebase_source : 939bc9354f5891c680513d7e9068d0438e169132
2016-09-21 08:49:46 -04:00
Kim Moir 269f7bed66 revert Bug 1303590 - Remove Luciddream test suite r=aobreja CLOSED TREE
--HG--
extra : amend_source : a2d0c8af24e3dbc6e8c3cd01847deea295209e8c
2016-09-21 08:55:24 -04:00
Kim Moir 12505a2885 Bug 1303590 - Remove Luciddream test suite r=aobreja 2016-09-21 08:47:14 -04:00
Carsten "Tomcat" Book 23879d2b18 Merge mozilla-central to mozilla-inbound 2016-09-21 12:07:46 +02:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Rob Thijssen cb8b1119da Bug 1303305 - Support in-memory unzip on tc win testers; r=armenzg
MozReview-Commit-ID: JcGymDuh2s9

--HG--
extra : rebase_source : 98842dda643bf37553e035d52adefcbaa07002e8
2016-09-16 12:06:00 +01:00
Phil Ringnalda 761fe9c9dd Bug 1282024 - Fix the typos that break setting the pref for iframe-allowfullscreen.html, and reenable it 2016-09-20 00:38:43 -07:00
Ted Mielczarek a879be132d bug 1303980 - update minidump_stackwalk binaries to ones built from latest Breakpad. r=jmaher
MozReview-Commit-ID: 7RHRlus75om

--HG--
extra : rebase_source : aba080dae4b532807cb3052d6b746620b4d591a3
2016-09-20 13:26:33 -04:00
Dão Gottwald f30ee01d43 Bug 1304004 - Disable test_dv_certificate.py, test_ev_certificate.py, test_mixed_content_page.py, test_mixed_script_content_blocking.py 2016-09-20 15:57:23 +02:00
Kim Moir e70811ec80 Bug 1303925 - Mac addon build on beta failing following 50 merge r=kmoir DONTBUILD 2016-09-20 09:28:33 -04:00
Domenic Denicola 8052df3b1f Bug 230307. When cloning a <textarea>, preserve the current value just like we do for <input>. r=ehsan
The web platform test is just lifted wholesale from
<https://github.com/w3c/web-platform-tests/pull/3734>.
2016-09-15 13:52:37 -04:00
Boris Zbarsky 87d24a4a1d Bug 1297304. Fix our named property DOM proxy code to handle deletion correctly when expandos are involved. r=peterv 2016-09-20 13:24:34 +01:00
Carsten "Tomcat" Book 17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Carsten "Tomcat" Book 8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
Phil Ringnalda 2f7e87d4f5 Bug 1282024 - Disable iframe-allowfullscreen.html for failing every time we merge to mozilla-beta 2016-09-19 19:10:10 -07:00
Kilik Kuo eafec00033 Bug 1289968 - [Part2] Provide max length limitation for KeyIds and Webm Initdata, then correct cooresponding web-platform-tests meta file. r=gerald
MozReview-Commit-ID: DbaF1wZXwav

--HG--
extra : transplant_source : %F4%FF%5E%E4%DBN%B8%15%23%2A%BD%E3%D4P%DF%A8%98n%F7%ED
2016-09-17 03:24:49 +08:00
Steve Fink 126dd3756f Bug 1303804 - Fix Promise test that relies on non-release feature (async stacks), r=froydnj
MozReview-Commit-ID: A9qEg11NOt

--HG--
extra : source : b1d6c8c73516bf74a36807bfb4595a57f5276571
extra : amend_source : f985ac3c5b6a59f02751ced11071d6e9ef3dee94
2016-09-19 15:21:25 -07:00
Matthew Noorenberghe 6007ad04a9 Bug 1303469 - Stub form autofill system extension. r=rhelmer
MozReview-Commit-ID: JXbUQdCwXN0

--HG--
rename : browser/extensions/webcompat/bootstrap.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/webcompat/install.rdf.in => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/webcompat/moz.build => browser/extensions/formautofill/moz.build
rename : browser/extensions/webcompat/test/browser.ini => browser/extensions/formautofill/test/browser/browser.ini
rename : browser/extensions/webcompat/test/browser_webcompat_stub_check.js => browser/extensions/formautofill/test/browser/browser_check_installed.js
extra : histedit_source : 655db162ef67f733bdf80e5410f75da7dc6e5d36
2016-09-18 14:07:51 +08:00
Phil Ringnalda c58d0d6900 Merge m-i to m-c, a=merge 2016-09-17 13:44:34 -07:00
Rail Aliiev a6b1bc61c2 Bug 1297519 - Generate multilocale Firefox snaps r=Callek, a=release DONTBUILD
MozReview-Commit-ID: AKkUK91s0Qo

--HG--
extra : rebase_source : 3c46abe5b36f8cecc06a5a198536a49b9d8fb370
2016-09-17 10:53:41 -04:00
prakhar0409 325fb89029 Bug 1298909 - report slowest test in all cases, even with requestLongerTimeout() is called. r=jmaher
HGcription>. r?jmaher branch 'default'

MozReview-Commit-ID: C8oij8WCQtl

--HG--
extra : rebase_source : 6fbd11fb47a3d58c0ed6443829218f8268bc168b
2016-09-16 23:30:00 +05:30
bhuvi96 f45db6ab53 Bug 1299207 - Remove unused imports in test_click.py; r=maja_zf
MozReview-Commit-ID: 9dDvAcsbZnS

--HG--
extra : rebase_source : 5a807ab46ed0ba28af22c2546e160abbb9e2d566
2016-09-15 21:51:21 +05:30
Henrik Skupin 5d8e830dad Bug 1302958 - Dump the list of downloaded safebrowsing files if one file has not been downloaded. r=maja_zf
MozReview-Commit-ID: GavpDh915zY

--HG--
extra : rebase_source : 37d37bc838d40d879a3cd0ea26dd20f5d5739074
2016-09-16 12:33:07 +02:00
Carsten "Tomcat" Book a07a9f05fc Merge mozilla-central to autoland 2016-09-16 14:28:01 +02:00
Phil Ringnalda 78ab2248a3 Merge m-c to m-i 2016-09-15 19:31:55 -07:00
Phil Ringnalda a6e7ea4e26 Backed out changeset af84ff6bfd7e (bug 1264367) for causing crash stacks to lack symbols
CLOSED TREE
2016-09-15 19:15:45 -07:00
James Graham b75cd4b512 Bug 1302796 - Remove some bogus changes in the wpt manifest, a=testonly
MozReview-Commit-ID: Ip5b7taHIUi
2016-09-16 03:30:00 +02:00
Wes Kocher 14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Wes Kocher cdf9010674 Backed out changeset f227ea4d52fe (bug 1302907) because it caused some updated packages to get built, causing linux64 failures a=backout CLOSED TREE
--HG--
rename : taskcluster/scripts/tester/test-ubuntu.sh => taskcluster/scripts/tester/test-ubuntu1604.sh
2016-09-15 14:40:10 -07:00
Wes Kocher 9013078b1e Merge m-c to inbound a=merge 2016-09-15 16:40:23 -07:00
Gregory Szorc 4c216e4cdb Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d

--HG--
rename : taskcluster/scripts/tester/test-ubuntu1604.sh => taskcluster/scripts/tester/test-ubuntu.sh
extra : rebase_source : 2153d24fbf8208851a6df8728b8a820166278751
2016-09-14 16:29:25 -07:00
Wes Kocher 9cd8a9ed02 Backed out changeset 9c949b216b37 (bug 1278402) for enabling jobs outside of try that shouldn't be enabled outside of try a=backout CLOSED TREE 2016-09-15 11:43:17 -07:00
Johan Lorenzo be46a345b9 Bug 1303041 - Don't look up "what's new" when uploading Aurora r=sylvestre
MozReview-Commit-ID: DxlaK90wbI8

--HG--
extra : rebase_source : c83dd6e42ce8bceb794f1353ab7fb9fbd5adb916
2016-09-15 16:38:02 +02:00
James Graham b20e631b19 Bug 1302796 - Add --check-clean flag to mach manifest update and mozlint integration, r=ahal,Ms2ger
MozReview-Commit-ID: 8Z4ywNEbF8G

--HG--
extra : rebase_source : 029995f188d14d0b70ed6e146a0feb71a046512f
2016-09-13 14:20:20 +01:00
James Graham bba975bca2 Bug 1302796 - Add integration between structured logging and lints, r=ahal
MozReview-Commit-ID: K3tu0Zdg5go

--HG--
extra : rebase_source : 2b78059908c3a297b8ce7d134af20733fc082df5
2016-09-13 14:18:41 +01:00
Sebastian Hengst 99e7648673 Backed out changeset 1df8bde64853 (bug 1302364) 2016-09-16 11:24:29 +02:00
Gregory Szorc 08eb7900f1 Bug 1303860 - Don't change directory when installing Mercurial; r=dustin
install-mercurial.sh was switching directories to /usr/local/mercurial
resulting in following actions adding files to that path. We don't
want that. So avoid the `cd` in install-mercurial.sh.

The main side effect of this change is that the desktop-test image is
now ~1.2 GB smaller because files aren't being saved to
/usr/local/mercurial.

MozReview-Commit-ID: Kyv8oXtvsda

--HG--
extra : rebase_source : f73dc49bf0fe457aebc6c858cd3fcaf6ce59ce6d
2016-09-19 14:15:06 -07:00
Gregory Szorc 6598b921fb Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d

--HG--
rename : taskcluster/scripts/tester/test-ubuntu1604.sh => taskcluster/scripts/tester/test-ubuntu.sh
extra : rebase_source : 29040c1cf7baedda0aaeff4bd788d5d400c127f1
extra : source : f227ea4d52fed84e3e682de0aa4cb8869539d645
2016-09-20 17:17:18 -07:00
Gregory Szorc e47aeebb80 Bug 1272629 - Add bison package to desktop-build image; r=glandium
We can't add it to the base image because rebuilding the base image
breaks Valgrind due to non-deterministic package version installation
(read the bug for the ugly backstory).

MozReview-Commit-ID: ARKJZfNCRFc

--HG--
extra : rebase_source : 6a36b1289d121367c89c986f86faf1e34a38a906
extra : source : 66c7af8b26544e79b39b7180cb7338bbc2642064
2016-09-14 18:49:53 -07:00
Carsten "Tomcat" Book 79ec7bf1c3 Merge mozilla-central to autoland 2016-09-20 12:05:52 +02:00
Masayuki Nakano 0cf4a632e5 Bug 1300937 part.3 NativeKeyCodes.js should specify scan code to WIN_VK_ABNT_C1 explicitly for avoiding (perhaps) a bug of MapVirtualKeyEx() API r=smaug
Unfortunately, MapVirtualKeyEx() doesn't compute ABNT C1's scan code from its virtual keycode, 0xC1.  Therefore, NativeKeyCodes.js should specify 0x0056 explicitly.  Fortunately, this key in physical keyboard always generates the scan code value with any keyboard layouts.  Therefore, this can test new regressions as expected.

FYI: ABNT C1 key is a key in Brazilian keyboard.  It's at between "ShiftLeft" and "KeyZ".

MozReview-Commit-ID: GmpnFKOsnKD

--HG--
extra : rebase_source : 197b249740056e5c4b7c6f3b556f91f50a838d52
2016-09-13 19:55:29 +09:00
Masayuki Nakano 05960c4ff6 Bug 1300937 part.2 Automated tests which synthesize native key events on Windows should specify scan code value explicitly r=smaug
On Windows, some keys are called "extended key".  Their scan code include 0xE000.  For example, Enter key in standard position is 0x001C but Numpad's Enter key is 0xE01C.  Unfortunately, both of them cause same virtual keycode value, VK_RETURN.  Therefore, currently, nsIDOMWindowUtils.sendNativeKey() can synthesize only one native key event of them (only non-extended key's event).  Additionally, MapVirtualKeyEx() API with MAPVK_VK_TO_VSC (even with MAPVK_VK_TO_VSC_EX) don't return extended scancode value as expected.

For solving these issues, we should include scan code value to the virtual keycode value at calling sendNativeKey().

Fortunately, virtual keycode value on Windows is 0 ~ 255 (0x00 ~ 0xFF) but aNativeKeyCode of sendNativeKey() is int32_t.  So, we can use upper 16 bit for specifying scan code.

This patch explicitly specifies scan code value at defining WIN_VK_* in NativeKeyCodes.js.  Additionally, this patch duplicates native virtual keycode definition for Home, End, Insert, Delete, PageUp, PageDown, ArrowUp, ArrowLeft, ArrowDown, ArrowRight and Enter as WIN_VK_* and WIN_VK_NUMPAD_*.  This makes automated tests can specify both positions' keys explicitly.

Finally, this patch adds some tests to test_keycodes.xul for testing KeyboardEvent.code value of those keys in both positions.

MozReview-Commit-ID: 8n1rQ71dilg

--HG--
extra : rebase_source : 8215e56ba1ed9fc54c04eb7ca037b12c3ced5c1b
2016-09-13 19:38:23 +09:00
Masayuki Nakano 1042db50c8 Bug 1300937 part.1 Check KeyboardEvent.key and KeyboardEvent.code in test_keycodes.xul r=smaug
MozReview-Commit-ID: AntOqvmTCcW

--HG--
extra : rebase_source : a223980232f1c5bf03b3dc5685afe2990e5dc893
2016-09-13 21:48:45 +09:00
Sylvestre Ledru a60ca545c6 Bug 1303326 - Extend get_apk.py to be able to retrieve the latest nightly & aurora apk files r=jlorenzo
MozReview-Commit-ID: E0urGoFXbFe

--HG--
extra : rebase_source : d493540907f7890a3f215745aea1d48daff316e1
2016-09-16 14:43:50 +02:00
Greg Mierzwinski 85c034ec6f Bug 1278402 - Add linux64-ccov and linux64-jsdcov as code coverage build platforms to taskcluster. r=dustin,jmaher
These builds can be run on taskcluster to obtain per-test (JSDebugger) code coverage with the linux64-jsdcov build and overall (GCOV) code coverage with the linux64-ccov build. The linux64-jsdcov build also needed to have leak checking disabled for debug mode.

MozReview-Commit-ID: ASgrU2X7RQV

--HG--
extra : rebase_source : b2098e4d01039edd6cff37f3e6a26c2ed3d3d3ba
2016-07-23 11:27:49 -04:00
Sylvestre Ledru bee65993d0 Bug 1304323 - Add the support of staged rollout in the push_apk script r=jlorenzo
MozReview-Commit-ID: 8Xgd4DEQzlE

--HG--
extra : rebase_source : 95c548b2ad5a4215d58cd1fb77c9e114c44fde49
2016-09-21 15:19:16 +02:00
Nicholas Hurley d95119a726 Bug 1296280 (part 0b) - Make debugging node h2 server work better r=mcmanus
MozReview-Commit-ID: 6QoGiUKGTzA

--HG--
extra : rebase_source : e5987c94e97ef398d871f2c5ac5a19ef97c578ea
2016-09-07 09:43:47 -07:00
Nicholas Hurley 3ce8296e41 Bug 1296280 (part 0a) - Update to node-http2 3.3.6 r=mcmanus
MozReview-Commit-ID: 6c5RrFFDak0

--HG--
extra : rebase_source : 4c4b9fe9546427e85db5c333657933f10b94da91
2016-09-16 08:54:03 -07:00
Henrik Skupin e20a8e6f48 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 4bcf4497a2af79790378ddc1bbe47712e4c0ea6c
2016-09-21 10:31:05 +02:00
Greg Mierzwinski 8875e96f7d Bug 1278402 - Add linux64-ccov and linux64-jsdcov as code coverage build platforms to taskcluster. r=dustin,jmaher
These builds can be run on taskcluster to obtain per-test (JSDebugger) code coverage with the linux64-jsdcov build and overall (GCOV) code coverage with the linux64-ccov build. The linux64-jsdcov build also needed to have leak checking disabled for debug mode.

MozReview-Commit-ID: ASgrU2X7RQV

--HG--
extra : rebase_source : af40a6e582665ffcb575092586731f595a362ae4
2016-07-23 11:27:49 -04:00
Carsten "Tomcat" Book 31fdf0df86 Backed out changeset 6a8bf7596f42 (bug 1300937) for m-oth test failures
--HG--
extra : rebase_source : 187813acb705820a33bddf1cffcd8d22754fe785
2016-09-15 17:04:33 +02:00
Carsten "Tomcat" Book 915d632972 Backed out changeset be88a60abb7a (bug 1300937)
--HG--
extra : rebase_source : 19b90e94e16547a7a718a7c4c2f587e64fbe4b7a
2016-09-15 17:04:16 +02:00
Carsten "Tomcat" Book 9ce8c3febe Backed out changeset e94d6d577103 (bug 1300937)
--HG--
extra : rebase_source : 4d10055ca5e6f67a3e085d7ea06dc4eae90eace3
2016-09-15 17:04:14 +02:00
Sylvestre Ledru 89ec6a148e Bug 1303030 - Remove the upload of unsupported archs in push_apk.py r=jlorenzo
MozReview-Commit-ID: GvKhFNyJdbt

--HG--
extra : rebase_source : 7f8a8a3aa5b90be376250fc712ccbbe7ae6d2790
2016-09-15 16:10:26 +02:00
Henrik Skupin 3418dc5d58 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 61870a85c3f749ac3da202e08c2ba91fa87a261b
2016-09-13 17:21:52 +02:00
Masatoshi Kimura 76c12d6bf0 Bug 1248198 - Set "hasNode" only if the node version is >=5.0.0 because older node does not support ALPN. r=glandium
MozReview-Commit-ID: D4rrp92R5YS

--HG--
extra : source : 79cfcc382ade566300e987524fb292de7a8a67d8
extra : intermediate-source : 41cc1eb720bf943717a00a93f162f27596c8ed54
2016-07-15 21:08:42 +09:00
Marcos Caceres d333449578 Bug 1270704 - Fix intermittent dead CPOW failure in browser_browserLoaded_content_loaded.js. r=mconley 2016-09-16 01:44:00 -04:00
John Dai 67c1584d51 Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug 2016-09-22 02:42:00 -04:00
Carsten "Tomcat" Book ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Chris Pearce 39789bfc59 Bug 1304250 - Implement MediaKeySession.onmessage. r=smaug
MozReview-Commit-ID: FDpvsoFwy6C

--HG--
extra : rebase_source : d569107d6c473d24800e2e4c97d6408ac81eb09b
2016-09-21 14:56:20 +12:00
Chris Pearce a509ea65bc Bug 1304249 - Implement MediaKeySession.onkeystatuseschange. r=smaug
MozReview-Commit-ID: 1LnDi1MmXi2

--HG--
extra : rebase_source : e12a4085ad2462f1157ab4ea0552a239cd7499dc
2016-09-21 14:31:15 +12:00
Chris Pearce d42821ee80 Bug 1304247 - Implement HTMLMediaElement.onwaitingforkeys. r=smaug
MozReview-Commit-ID: DhNV30BfksS

--HG--
extra : rebase_source : 5fab8f1b3333ff8607c0325907fbe7214234c001
2016-09-21 14:10:26 +12:00
Henrik Skupin fed3581079 Bug 1304983 - Improve test_safe_browsing_initial_download.py to wait for all safebrowsing files being downloaded. r=francois
MozReview-Commit-ID: IQC9VObLSgi

--HG--
extra : rebase_source : 736dbab391b38416605fa4b4f0a395c08968cabb
2016-09-23 18:58:00 +02:00
Henrik Skupin 27d984735c Bug 1148220 - Marionette's in_app restart has to send 'quit-application-requested' observer notification. r=automatedtester
MozReview-Commit-ID: 3IAtFFeyJWa

--HG--
extra : rebase_source : 41889aa72afc1cfcb8c3702069a805637a1d96b3
2016-09-26 15:25:05 +02:00
Henrik Skupin e416a05bb8 Bug 1141483 - After a restart Marionette doesn't restore the previous context. r=automatedtester
MozReview-Commit-ID: KCI7UZn0NeZ

--HG--
extra : rebase_source : b5f4dc2c8a91d8b2ad0f45eb77b770ebbf184b99
2016-09-26 17:59:23 +02:00
Armen Zambrano Gasparnian daf2509e48 Bug 1305752 - If the file we download is a corrupted zip file store it for inspection. r=dustin
download_unpack() is managing to download files correctly, however, sometimes we get an exception
that the zip file is corrupted.

This change adds more logging and saves the fetched file to disk in order to get uploaded as an artifact
for inspection.

MozReview-Commit-ID: 2KCK6qGNor4

--HG--
extra : rebase_source : 05f29616c90f36991582d285c6fa00d62fe06b40
2016-09-28 12:35:56 -04:00
Gregory Szorc cd16187ecd Bug 1305804 - Resolve hostname before attempting to use pip link; r=ted
In automation, we try to use pypi.pvt.build.mozilla.org nearly
everywhere. This hostname doesn't resolve in TaskCluster and
outside of buildbot automation.

A consequence of work in bug 1304176 and using a modern pip is
that we attempt to connect to all defined pip links. This was resulting
in pip attempting connections to pypi.pvt.build.mozilla.org. And
since pip was attempting retries, this resulted in a several
second delay for all pip operations if that host didn't resolve.

This commit adds a DNS lookup in mozharness before using a pip
--link. We spend a little bit of overhead in mozharness doing a
DNS lookup. In return, we guarantee we'll avoid a multiple second
pause if any links don't resolve. This is somewhat hacky.
But it seems like the easiest solution.

MozReview-Commit-ID: EecqBQSW75R

--HG--
extra : rebase_source : 9664a3694232e4ce2dec216b036ba29783c2842d
2016-09-27 13:44:27 -07:00
Kris Maglione 7fe3c9e28a Bug 1306037: Support options_ui in embedded WebExtensions. r=aswan
MozReview-Commit-ID: KZVPz52qrTS

--HG--
extra : rebase_source : 302bdead12c6bf36e30ed3782c6cb4526f1ef1c7
2016-09-28 23:11:35 +01:00
Prabhjyot Singh Sodhi ebb9f983f1 Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal
MozReview-Commit-ID: INBZaZzcPmF

--HG--
extra : rebase_source : c0ba416f110b2768fc744de0fbee21c765081400
2016-09-28 08:28:04 -04:00
Avi Halachmi fe16e1f10c Bug 1189901: part 7: add signed talos-powers addon. r=jmaher 2016-09-29 21:00:22 +03:00
Avi Halachmi 5543158577 Bug 1189901: part 6: add signed pageloader addon. r=jmaher 2016-09-29 21:00:22 +03:00
Avi Halachmi c2086a6d32 Bug 1189901: part 5: add CSSOM scroll test - uses APZ when available. r=kats 2016-09-29 21:00:22 +03:00
Avi Halachmi 1eac64e354 Bug 1189901: part 4: scroll: report custom test name. r=jmaher 2016-09-29 21:00:22 +03:00
Avi Halachmi 28dd356f1d Bug 1189901: part 3: talos-powers: add generic ParentExec. r=mconley 2016-09-29 21:00:22 +03:00
Avi Halachmi 03ba751b39 Bug 1189901: part 2: scroll-tests: serialize asyncs with Promises. r=mconley 2016-09-29 21:00:22 +03:00
Avi Halachmi a799576bb1 Bug 1189901: part 1: remove code redundancy between tscrollx and tp5o_scroll. r=jmaher 2016-09-29 21:00:21 +03:00
Emilio Cobos Álvarez 5ef29bd519 Bug 1300374: Web platform test for child-indexed selectors matching the root element and standalone elements. r=heycam
MozReview-Commit-ID: 78yr2APVi4w

--HG--
extra : rebase_source : 6d189d54a259bc3b74cf3d1baa88aebe87841a79
2016-09-14 20:20:58 -07:00
Chris Manchester 2c2a464982 Bug 1252235 - Make try syntax available to mozharness from TaskCluster through an environment variable. r=armenzg
MozReview-Commit-ID: HIVIXPQXnQs

--HG--
extra : rebase_source : aa6ed39fdaa5bec568fabc562319f3a2ed4f4c47
2016-08-29 16:33:24 -07:00
Gregory Szorc 1453c49935 Bug 1302821 - Ensure owner has full privileges on directories; r=dustin
Previously, when recursively changing ownership on directories we would
only change the owner. We saw some permission denied failures in
automation where the new owner couldn't modify files or directories.
This *might* be due to the owner write bits not always being set. Or
it could be something else (such as a filesystem bug - *cough* AUFS
*cough*).

This commit changes our recursive chown implementation to ensure owner
read, write, and execute bits are set on directories.

Because we're now always calling stat(), the code for calling chown()
is made conditional because we have the stat information and can avoid
the extra system call if it would be a no-op.

MozReview-Commit-ID: JT9q3QR4Sit

--HG--
extra : rebase_source : 86ceecb3a9381390670d47d46862dad4fc38c403
2016-09-14 12:26:15 -07:00
Masayuki Nakano ca5214b9da Bug 1300937 part.3 NativeKeyCodes.js should specify scan code to WIN_VK_ABNT_C1 explicitly for avoiding (perhaps) a bug of MapVirtualKeyEx() API r=smaug
Unfortunately, MapVirtualKeyEx() doesn't compute ABNT C1's scan code from its virtual keycode, 0xC1.  Therefore, NativeKeyCodes.js should specify 0x0056 explicitly.  Fortunately, this key in physical keyboard always generates the scan code value with any keyboard layouts.  Therefore, this can test new regressions as expected.

FYI: ABNT C1 key is a key in Brazilian keyboard.  It's at between "ShiftLeft" and "KeyZ".

MozReview-Commit-ID: GmpnFKOsnKD

--HG--
extra : rebase_source : 37f78552a1ebba6f61c38add0138b84ddef36c3e
2016-09-13 19:55:29 +09:00
Masayuki Nakano e8eae5c2a2 Bug 1300937 part.2 Automated tests which synthesize native key events on Windows should specify scan code value explicitly r=smaug
On Windows, some keys are called "extended key".  Their scan code include 0xE000.  For example, Enter key in standard position is 0x001C but Numpad's Enter key is 0xE01C.  Unfortunately, both of them cause same virtual keycode value, VK_RETURN.  Therefore, currently, nsIDOMWindowUtils.sendNativeKey() can synthesize only one native key event of them (only non-extended key's event).  Additionally, MapVirtualKeyEx() API with MAPVK_VK_TO_VSC (even with MAPVK_VK_TO_VSC_EX) don't return extended scancode value as expected.

For solving these issues, we should include scan code value to the virtual keycode value at calling sendNativeKey().

Fortunately, virtual keycode value on Windows is 0 ~ 255 (0x00 ~ 0xFF) but aNativeKeyCode of sendNativeKey() is int32_t.  So, we can use upper 16 bit for specifying scan code.

This patch explicitly specifies scan code value at defining WIN_VK_* in NativeKeyCodes.js.  Additionally, this patch duplicates native virtual keycode definition for Home, End, Insert, Delete, PageUp, PageDown, ArrowUp, ArrowLeft, ArrowDown, ArrowRight and Enter as WIN_VK_* and WIN_VK_NUMPAD_*.  This makes automated tests can specify both positions' keys explicitly.

Finally, this patch adds some tests to test_keycodes.xul for testing KeyboardEvent.code value of those keys in both positions.

MozReview-Commit-ID: 8n1rQ71dilg

--HG--
extra : rebase_source : 0f4bb9193aa06cd7985590636b77a6e2a71ac2e4
2016-09-13 19:38:23 +09:00
Masayuki Nakano 748c42b18b Bug 1300937 part.1 Check KeyboardEvent.key and KeyboardEvent.code in test_keycodes.xul r=smaug
MozReview-Commit-ID: AntOqvmTCcW

--HG--
extra : rebase_source : 7f5a550cf7e3464f1d568f9cc30ec2bc97a31c55
2016-09-13 21:48:45 +09:00
Manish Goregaokar 65e072aa45 Bug 1301621 - Parse URL ports as 16 bit; r=valentin
MozReview-Commit-ID: 5FbRUsYzJdy

--HG--
extra : rebase_source : dba9575a3d3a56560f39a81c6a3431da4e21f3e9
2016-09-09 15:42:42 +08:00
Henrik Skupin 857c22b6d5 Bug 1290806 - Fix TestSwitchWindow.test_windows by waiting for the newly opened window. r=maja_zf
MozReview-Commit-ID: 750cIdl27CZ

--HG--
extra : rebase_source : b165686e528cec1f2ea92225ba50198f0c7aa065
2016-09-08 18:00:36 +02:00
Henrik Skupin a04adf5ca3 Bug 1156427 - Fix test_set_location_through_execute_script by waiting for the page to be loaded. r=ato,automatedtester
--HG--
extra : rebase_source : 2aa659a7c1b796502b09e44356bf70d062cebd35
2016-09-08 15:32:59 +02:00
Gregory Szorc c89dc40085 Bug 1296397 - Add source checkout to web platform test tasks; r=dustin
This commit does a few things. First, it introduces a property on the
"test_description" schema that, if defined, will cause run-task to
perform a gecko checkout. The presence of the property also configures
the needed scopes and caches.

Second, we introduce the property on web platform test tasks so a
Gecko checkout is present. We also add volumes for the Mercurial
paths to the Docker images. We strictly only need this for
desktop1604-test since WPT tests don't run on desktop-test. However,
desktop-test and desktop1604-test are nearly mirror images of each
other and I feel it is best to keep them in sync.

This commit will make WPT tasks slower on average because they will
need to create a checkout. To add salt to the wound, the checkout
isn't used. However, we need to prove that performing checkouts in
test tasks in automation works at scale. I'd prefer to have this running
for a few weeks and incurring a wall time execution penalty than to
have a giant series of commits backed out because source checkouts
aren't working.

MozReview-Commit-ID: 9UrSWSSmr3w

--HG--
extra : rebase_source : 7b3786f5c612d47dc3b0e165b4abe0c47e8af9ed
2016-09-14 08:20:10 -07:00
James Graham e2e577306d Bug 1302673 - Encrypted media tests also seem to be unstable on OSX, a=testonly
MozReview-Commit-ID: BUee8ZFWL2D
2016-09-14 11:22:36 +01:00
Carsten "Tomcat" Book d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Phil Ringnalda 2dda3b0b13 Backed out changeset 10322a5fc3e7 (bug 1156427) for failures in test_navigation.py TestNavigate.test_should_throw_a_timeoutexception_when_loading_page
CLOSED TREE
2016-09-13 18:55:04 -07:00
Ryan VanderMeulen 739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Thomas Wisniewski 3cf91c9343 Bug 918719 - Only fire one loading readystatechange per XHR, but keep the old behavior available behind the preference dom.send_multiple_xhr_loading_readystatechanges. r=smaug
--HG--
extra : rebase_source : 296943a67ae8bd3065749cc424a4379320169585
2016-09-12 22:39:01 -04:00
Thomas Wisniewski 0748df2882 Bug 1302312 - Treat URLs with username or password but no host info as malformed. r=valentin
--HG--
extra : rebase_source : 24fdcd9682cbcc3bb6850bf7708ea859264f4661
2016-09-13 12:47:16 -04:00
Andreas Tolfsen fda7568661 Bug 1302503 - Allow quitApplication to be called without flags; r=automatedtester
MozReview-Commit-ID: 5ctSN5vZbSQ

--HG--
extra : rebase_source : d912430688e31836ba8397e372e95803c238deda
2016-09-13 19:20:39 +01:00
Dustin J. Mitchell bfea831cd8 Bug 1286075: delete the legacy kind; r=mshal
MozReview-Commit-ID: F99tUGUWj6d

--HG--
rename : taskcluster/ci/legacy/routes.json => testing/mozharness/configs/routes.json
extra : rebase_source : a437dd30dac1add3f439a98a8d910d2bdbcc843f
2016-09-08 00:31:35 +00:00
Mason Chang cdb3b318be Bug 1302225 - Backout skia windows. r=me 2016-09-13 08:05:49 -07:00
Mantaroh Yoshinaga 02a6ea7d52 Bug 1298554 - Remove the animation.id mochitest. r=birtles
MozReview-Commit-ID: 8VTAl9WO7eF

--HG--
extra : rebase_source : b9f7f257a7509ad26d839644e77b2afc7877cd2f
2016-09-12 10:23:10 +09:00
Henrik Skupin 42186d2ae2 Bug 1156427 - Fix test_set_location_through_execute_script by waiting for the page to be loaded. r=automatedtester
--HG--
extra : rebase_source : 718d240cf00ff5e7293fd649ee109a7b9590d3d7
2016-09-08 15:32:59 +02:00
James Graham b27798bb79 Bug 1302105 - Add wpt* aliases for web-platform-tests* commands, r=Ms2ger
MozReview-Commit-ID: KPhtTUyKs3z

--HG--
extra : rebase_source : dbd493550fb247c5f7d165e5bcb6738e341fbfe8
2016-09-12 15:10:55 +01:00
James Graham f793c63206 Bug 1301473 - Add a wpt-manifest-update command, r=Ms2ger
This updates the manifest without loading any of the test-running
infrastructure, or requiring a build.

MozReview-Commit-ID: HJko5gUB3ov

--HG--
extra : rebase_source : 8ce14b2e76a6f1daf286ff6758c57604c072a6ad
2016-09-12 15:06:32 +01:00
Armen Zambrano Gasparnian 08d4a46b4f Bug 1300812 - Make Mozharness downloads handle better intermittent S3/EC2 issues r=aki,gps
We believe we're getting incomplete bytes when fetching files from S3 to our EC2 instances.
This patch should help give us more information and retry few times before failing.

MozReview-Commit-ID: 7tUzZmS8Zph

--HG--
extra : rebase_source : f8c052c92d3ccccf18daf6cbf9832d8ec48a6ecd
2016-09-12 11:41:04 -04:00
Hiroyuki Ikezoe 9eb3978fde Bug 1216843 - Part 16: Fix bug number for implementation of keyframe composition. r=birtles
The content of this bug (1216843) has changed since it filed initially,
so we should change bug numbers in our source tree.

Re-generating ini file re-ordered items in the ini file.

MozReview-Commit-ID: HnJGJDSmZl3
2016-09-13 11:48:46 +09:00
Hiroyuki Ikezoe f242259acc Bug 1216843 - Part 13: Implement color accumulation in filter property. r=dholbert
MozReview-Commit-ID: LJNYUYNIdN2
2016-09-13 11:48:45 +09:00
Hiroyuki Ikezoe dcb798d8a7 Bug 1216843 - Part 10: Implement box-shadow/text-shadow color accumulation. r=dholbert
MozReview-Commit-ID: CkKOaDN6SPo
2016-09-13 11:48:45 +09:00
Hiroyuki Ikezoe cd7418fd44 Bug 1216843 - Part 7: Implement color accumulation. r=dholbert
MozReview-Commit-ID: Ic7dIrZWvih
2016-09-13 11:48:45 +09:00
Hiroyuki Ikezoe f98523cf02 Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug
MozReview-Commit-ID: 6u7WtXwL3y3
2016-09-13 11:48:44 +09:00
Hiroyuki Ikezoe acded2cbb2 Bug 1216843 - Part 1: Tests for effect iteration composition. r=birtles
MozReview-Commit-ID: AWsI6r63PgM
2016-09-12 07:04:56 +09:00
Wes Kocher 06c62c6cde Merge m-c to inbound, a=merge 2016-09-12 17:22:56 -07:00
Wes Kocher c21b854efc Merge inbound to central, a=merge 2016-09-12 17:08:25 -07:00