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

18018 Коммитов

Автор SHA1 Сообщение Дата
Henry Chang 1d343fefaa Bug 1365157 - wpt test cases to ensure 'data:' iframe is forbidden to access its contentDocument. r=ckerschb
MozReview-Commit-ID: 8jnewE1eEcc

--HG--
extra : rebase_source : 4c580e32c7e19a241e0f31094fd7c12aff275a72
2017-08-17 09:47:14 +08:00
Henrik Skupin f901b6658a Bug 1254136 - Fix double registration for sessionstore-windows-restored. r=automatedtester
A missing break statement caused a double execution of the code in
"profile-after-change", which leads to two instantiations of the
Marionette server colliding due to the same port.

MozReview-Commit-ID: Dp6fncj463j

--HG--
extra : rebase_source : dd4301c2fb797da228c0011e6bd90afa9171fb54
2017-08-10 18:04:47 +02:00
Henrik Skupin f5ae03f271 Bug 1391016 - "proxyAutoconfigUrl" is required for proxyType "pac". r=automatedtester
MozReview-Commit-ID: DC43PmCAWBn

--HG--
extra : rebase_source : 910653f16a44f934dddbb9a00d1d66bf496ee1fe
2017-08-16 21:58:55 +02:00
Henrik Skupin 1342b7079f Bug 1391016 - Make sure that proxyType is required and a string. r=automatedtester
The webdriver spec declares the "proxyType" as required, and of
type string.

MozReview-Commit-ID: FXUhdYfOwWI

--HG--
extra : rebase_source : dc069a4de1e014951ed430bf5448ca0e3ac2545e
2017-08-16 21:45:09 +02:00
Ho-Pang Hsu 977f9579e3 Bug 1353636 - Part 4: Enable a related web-platform-test. r=bkelly
--HG--
extra : rebase_source : bd1025df6709bc06843cf5949dfaf060051e5e9c
2017-08-07 16:09:16 +08:00
Carsten "Tomcat" Book 99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Hiroyuki Ikezoe e8753538c3 Bug 1356241 - Drop preference values that are already set in prefs_general.js. r=daisuke
There are no other meta files that the preference values which were dropped in
this patch are set explicitly.

MozReview-Commit-ID: 6FXjj8gVPER

--HG--
extra : rebase_source : 1e1af50230201bf6aeccbc4ded5401f90a0b0d6c
2017-08-17 08:57:01 +09:00
Hiroyuki Ikezoe a30003cd17 Bug 1356241 - Return specified 'normal' value for column-gap computed value. r=dholbert
In the spec [1], computed value for column-gap is defined as
'as specified, with <length>s made absolute'.

[1] https://drafts.csswg.org/css-multicol-1/#column-gap

MozReview-Commit-ID: IO22V33z8pz

--HG--
extra : rebase_source : 63167965a0e89fd298df3a22a7c5e41ed34dd1e9
2017-08-17 08:56:00 +09:00
Hiroyuki Ikezoe da048b2b99 Bug 1356241 - Set the pref for overflow-clip-box true since it's not contained in prefs_general.js. r=daisuke
MozReview-Commit-ID: 96FsyOjwiTV

--HG--
extra : rebase_source : b29443c55dad849d115a19f0f2a76616494c310f
2017-08-17 08:56:00 +09:00
Wes Kocher 366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher 9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Joel Maher 527cb9bd76 Bug 1383789 - Enable Stylo Talos tests on more desktop platforms. r=rwood
MozReview-Commit-ID: IcJc46A3izI
2017-08-16 10:21:06 -04:00
Geoff Brown 3160467cf1 Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher
This adds test verification support to the xpcshell test harness. With --verify,
the specified test(s) are run 20 times, then another 20 times in chaos mode.

Tests are run sequentially. I have some interest in running in parallel also,
but this may not be practical: 1. Under normal circumstances, a test does not
run in parallel with itself, so it is arguably an unrealistic mode of operation;
2. Logging fails if it sees a test start after a test with the same name has completed.
2017-08-16 06:55:55 -06:00
Geoff Brown 34e5369daa Bug 1390599 - 2. Break xpcshell test harness runTests() function into smaller pieces; r=jmaher
New function updateMozinfo() is broken out of runTests() and the remainder of runTests()
is split into two parts: runTests() prepares tests, then calls new function runTestList() to
actually run them. All changes are structural and no change in behavior is expected.
2017-08-16 06:55:53 -06:00
Geoff Brown e4e2fc78d1 Bug 1390599 - 1. Simplify argument passing in xpcshell test harness; r=jmaher
The complexity of the xpcshell test harness has grown over time. I am reluctant
to make it more complex without first trying to simplify it. Here I consolidate
some of the argument passing between functions in an attempt to simplify some
important interfaces. Changes are strictly structural and should result in no
change in behavior.
2017-08-15 09:06:16 -06:00
Geoff Brown f735ed7396 Bug 1388883 - Ensure a fresh necko cache for each mochitest and reftest run; r=bc 2017-08-16 06:55:49 -06:00
Carsten "Tomcat" Book eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Wes Kocher 2629822558 Merge m-c to inbound, a=merge
MozReview-Commit-ID: I6LUATZz1q3
2017-08-15 23:16:41 -07:00
Aki Sasaki 9d3cf9697f bug 1383771 - back out d25db0546c92 (reland ffc2e43aa834). r=backout a=release
MozReview-Commit-ID: LlNo4Npariw

--HG--
extra : transplant_source : %86Z0%DF%CA%04%B6%AB%2B%0Dz%AF%D6%16%D2%ED%B6%A0%93%F6
2017-08-15 22:54:08 -07:00
Wes Kocher 7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Wes Kocher 5a4fb82b72 Merge autoland to central, a=merge
MozReview-Commit-ID: FOw9Q98gVXH
2017-08-15 18:51:25 -07:00
Aki Sasaki 03c0e3b9cb bug 1383771 - back out ffc2e43aa834 until we fix bug 1390552. r=backout a=release 2017-08-15 14:25:04 -07:00
Andreas Tolfsen 6358549fc7 No bug: Generate Marionette API docs. r=me
MozReview-Commit-ID: L9YAB4WCZmu
2017-08-15 19:56:04 +01:00
Carsten "Tomcat" Book 6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Henrik Skupin 3b841dfe1d Bug 1387092 - Update geckodriver readme for proxyType 'direct'. r=ato
MozReview-Commit-ID: DKttdSJajcD

--HG--
extra : rebase_source : 3e47333f6fa196698b8cf77e1e64a0ff1e233070
2017-08-15 19:28:53 +02:00
Henrik Skupin 654b88a12d Bug 1387092 - Add support for proxyType "direct". r=ato
The webdriver spec has been updated a while ago and renamed the proxyType
for not using a proxy from "noProxy" to "direct".

MozReview-Commit-ID: FjDIK8XCba8

--HG--
extra : rebase_source : 423149d3f82cf1b7e28d29a775359ac66e7a6f90
2017-08-15 19:23:33 +02:00
Sebastian Hengst b07f79e076 Backed out changeset 30805fec70ed (bug 1387092) for failing testing/marionette/test_session.js | test_Proxy_init. r=backout 2017-08-15 19:08:53 +02:00
Sebastian Hengst e95354daa8 Backed out changeset 32d34008eec5 (bug 1387092) 2017-08-15 19:07:57 +02:00
Henrik Skupin e33bba5063 Bug 1390486 - Add "dom.file.createInChild" preference to recommended prefs. r=ato
To allow geckodriver to create file objects in child processes, this
preference has to be set to true. As such it needs to be recommended
in Marionette and set as default preference for geckodriver.

MozReview-Commit-ID: 8bdbi5jH6Vc

--HG--
extra : rebase_source : cc8963d2b15357b6d1607854e978aa764fcbd42f
2017-08-15 17:47:15 +02:00
Kartikaya Gupta 3203430fbf Bug 1383149 - Add option to run talos tests with webrender enabled. r=ahal
MozReview-Commit-ID: 7pS6DtLtWM0

--HG--
extra : rebase_source : 71c3f534389cecfbd5d80dfe72f6625e2d1b33c1
2017-08-14 16:51:25 -04:00
Henrik Skupin f0d69131d1 Bug 1387092 - Update geckodriver readme for proxyType 'direct'. r=ato
MozReview-Commit-ID: DKttdSJajcD

--HG--
extra : rebase_source : 9ab4f76b2ac59d9c07d3dded9c47eda5a9f72310
2017-08-11 18:58:18 +02:00
Henrik Skupin 57339723eb Bug 1387092 - Add support for proxyType "direct". r=ato
The webdriver spec has been updated a while ago and renamed the proxyType
for not using a proxy from "noProxy" to "direct".

MozReview-Commit-ID: FjDIK8XCba8

--HG--
extra : rebase_source : ab41d737c9ba06c8883bfd36839807e6c3316c92
2017-08-11 11:55:51 +02:00
Wes Kocher be24aec8e9 Merge m-c to inbound a=merge
MozReview-Commit-ID: JqsSD85rE4W
2017-08-15 19:15:22 -07:00
Tobias Schneider 933774634d Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Make testing for expected time origins more reliable. r=jgraham
--HG--
extra : rebase_source : d352fa0cf223da37179739afeed76df08c682aef
2017-08-14 20:11:37 -07:00
Wes Kocher 6fc856c286 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DihMPQQtOlw
2017-08-15 23:17:09 -07:00
Thom Chiovoloni 9fbf0a08aa Bug 1390338 - Enable legacy extensions when running TPS. r=markh
MozReview-Commit-ID: KKReASjFcOT

--HG--
extra : rebase_source : aaaff4bb04f04c29dcf6c7cbaa246352de647a2f
2017-08-14 18:51:09 -04:00
Xidorn Quan c40f44ef9b Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : 74e411e2280e818fc1fbd2efda677565cfa2f8b6
2017-08-09 19:57:33 +10:00
Michael Layzell 4c4a03953d Bug 1380081 - Part 15: Don't try to submit bhr ping to telemetry while running tests, r=chutten 2017-08-15 16:36:22 -04:00
Wes Kocher 3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Luke Chang d22502054f Bug 1389998 - Flip "dom.forms.autocomplete.formautofill" when running web-platform-tests r=MattN
MozReview-Commit-ID: 78Iph0Xmg42

--HG--
extra : rebase_source : 8ffc6a42483196d076d914ba958a01d51a935d45
2017-08-14 11:01:33 +08:00
Bryce Van Dyk e3b15be952 Bug 1275856 - Update expected outcomes of webplatform test for MediaRecorder. r=jib
With the addition of the MediaRecorderErrorEvent we are now compliant with the
spec in that regard. As such, the expected outcomes of the web platforms tests
can be updated to reflect that we should no longer expect failures for this
event.

MozReview-Commit-ID: 7yOVwbyMCHO

--HG--
extra : rebase_source : 4fdc9664fb5cd7f7e1bd912fd73506931e605588
2017-08-11 18:21:54 +12:00
Masatoshi Kimura f7fb96c7e5 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj

--HG--
extra : rebase_source : 968490c3f787949324c44ba75b6daf5c346f54c3
2017-08-14 20:46:55 +09:00
Drew Willcoxon 3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Daisuke Akatsuka 550258c416 Bug 1382136 - Part 3: remove test fail annotations from meta in wpt. r=hiro
Since we made 'content' property animatable, should remove test fail annotations
from meta of wpt.

MozReview-Commit-ID: 4h8MRmBhdDd
2017-08-15 20:51:46 +09:00
Carsten "Tomcat" Book a6ae5910bb Merge mozilla-central to autoland 2017-08-15 13:12:22 +02:00
Hiroyuki Ikezoe 3b24ba2969 Bug 1388220 - Simple interpolation test cases for text-shadow and box-shadow with currentcolor. r=xidorn
MozReview-Commit-ID: EjWBAlXuvAw

--HG--
extra : rebase_source : fff3c74e30bf0e6c0fd92095592d0aee0c4d1222
2017-08-15 15:21:19 +09:00
Hiroyuki Ikezoe 5b96483733 Bug 1387939 - Update wpt expectations for stroke-dasharray accumulation/addition. r=hiro
MozReview-Commit-ID: H4nQ4eZM5fS

--HG--
extra : rebase_source : e1adaaa46987d49e60dea86a2c5399fede55f196
2017-08-15 13:16:23 +09:00
James Graham 62407a872c Bug 1390896 - Make mach wpt compatible with latest upstream, r=maja_zf
Upstream wpt changed from having a wptrun script to a wpt script with
a run subcommand. This involved some internal movement of code which
broke the `mach wpt` command when used with a non-firefox
product. This commit changes the mach integration to be compatible
with the new upstream API.

MozReview-Commit-ID: 1hvmZedNHSX

--HG--
extra : rebase_source : decd24551c2c5eaaae21eb64c7c376110b3de5b7
2017-08-16 15:42:30 +01:00
Wes Kocher cb3e58d017 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ENNd2QVktmQ
2017-08-16 17:07:52 -07:00
Geoff Brown 3929d32e18 Bug 1380122 - Update mozharness for test verification; r=jmaher 2017-08-16 16:42:43 -06:00
Geoff Brown 86e38e0e40 Bug 1390884 - Do not use chaos mode for test verification; r=jmaher
Chaos mode for test verification doesn't quite work -- it is a bit flaky still.
I intend to come back to it at a later date.
2017-08-16 16:42:41 -06:00
Wes Kocher 2458d6b297 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KfZgcCxrZcg
2017-08-14 17:59:46 -07:00
Johan Lorenzo d4bd2a28ea Bug 1383771 - Add widevine support to Nightly builds r=aki a=merge
Other related changes:
* Only target.{zip,tar.gz,tar.bz} get the widevine signature (not the various installers).
* Linux{32,64}-nightly are now repackaged. Their mar files are not signed during signed step anymore. It now happens after the repackage.
* As a consequence, funsize routes for linux are now set to repackage-signing (instead of signing)
* Signed upstream artifacts are now defined in a dedicated module (to avoid duplication)
* Platforms defined in beetmover_repackage now allow regex (to reduce duplication too)
* Mozharness configs: Delete unused (and misleading) `src_mozconfig` for windows. This value is actually not used when `run_configure` (in the same dict) is set to False.

MozReview-Commit-ID: COKqevW9Mzn

--HG--
extra : source : ffc2e43aa834e05f0d51d68dfb36317c1b408b08
2017-08-10 19:25:36 +02:00
Chung-Sheng Fu f7ccc499ad Bug 1382499 - Fix typo in testing/mochitest/tests/SimpleTest/EventUtils.js r=smaug
MozReview-Commit-ID: B6wo6Px54jk

--HG--
extra : rebase_source : efbba991267c78caca0f5c224e59cafc5c0ecb02
2017-08-03 16:02:07 +08:00
Aryeh Gregor 2df3e475b4 Bug 1387828 - Reinstate support for initKeyboardEvent; r=smaug
https://github.com/w3c/uievents/issues/112

This is supported by all other UAs.  In the past we had compatibility
problems when trying to add support, but it seems these might be fixed
if we make all arguments optional beyond the first.

The interface chosen for the method is from the spec, which has been
updated to match Chrome.  This is also very similar to WebKit, but the
final four arguments are different from IE.

MozReview-Commit-ID: 36AeX1JwJTt

--HG--
extra : rebase_source : 28b298d370f0f9a5ab4090a71a2aae91f1d90025
2017-08-06 16:52:39 +03:00
Sebastian Hengst 49882abddb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CExKztwYFsz
2017-08-14 11:57:21 +02:00
John Dai 5abb05dc54 Bug 1299363 - Part 6: Add tests for custom element upgrade. r=wchen
MozReview-Commit-ID: HsmtLzg9qP5

--HG--
extra : rebase_source : 99e670bd2a08b02f68818bfca5a410625e5aa7ee
extra : histedit_source : 669c2d72773079d6b0f24da012f5cde1444c898c
2017-08-13 16:40:49 +08:00
johndai1984 59be6e40c0 Bug 1299363 - Part 5-2: Implement new upgrade steps. r=bz, r=wchen
MozReview-Commit-ID: 34fIWSKUqyp

--HG--
extra : rebase_source : 3d7af3b1b262ab16c8d70e7389c0534c9261f3f0
extra : histedit_source : 8fd8debbc337ba260c4ec6384026a796bfd00021
2017-08-13 16:40:37 +08:00
Henry Chang 3fd3e9e316 Bug 1381744 - Extend current web-platform test to do data:css same-origin check. r=heycam
MozReview-Commit-ID: 2NYfdBEh3TW

--HG--
extra : rebase_source : b07dd822963f47b80063d5f2c02c9950151df3c3
extra : intermediate-source : 492ae735ac45ae0b7284e10414751885b9b1a757
extra : source : e2dfcb4b095c10fd1d4ea49b8a06aa2fe8852b0b
2017-08-08 18:36:10 +08:00
Henry Chang c59973e89a Bug 1381744 - New web-platform test case for data:font same-origin check. r=heycam
MozReview-Commit-ID: AFSf532NLVl

--HG--
extra : rebase_source : e14e43c4f21cda61c8f8d73849b234cc20fbc33f
extra : intermediate-source : 2e8e6a40f41ab9aee1834c8124ed71591dfc547e
extra : source : 3905490bbcaecbf00073d7afda9adcdd3d45ff96
2017-08-10 17:35:54 +08:00
Sebastian Hengst 7aba8fd282 merge mozilla-central to autoland. r=merge a=merge 2017-08-14 01:31:43 +02:00
Sebastian Hengst d98ea1f774 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: FzIkMLHbOh2
2017-08-14 01:30:32 +02:00
Emilio Cobos Álvarez 4f1b65a21c Bug 1382925: Update test expectations for fewer timeouts. r=me
Yay

MozReview-Commit-ID: DiYzdXxjNqL
2017-08-14 00:37:03 +02:00
Aryeh Gregor 99a150fe57 Bug 1359397 - Don't allow Selection in nodes not in the document; r=masayuki
This matches the spec and Chrome, and seems to bring us closer to Edge
and WebKit as well.  It also matches our own behavior for addRange(),
which was changed in bug 1341137.

For collapse and selectAllChildren, we match the tests and browsers, but
the spec is incorrect at the time of this writing:
https://github.com/w3c/selection-api/pull/86

The removeAllRanges test hadn't been updated for the spec change.

MozReview-Commit-ID: DTK8283k5IP

--HG--
extra : rebase_source : 54701e7136c33ebce651d5f74c3dc1d8b944f9a3
2017-08-10 15:02:08 +03:00
Sebastian Hengst 56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Geoff Brown dad38365b5 Bug 1389500 - Fix |mochitest --verify| by not popping prefs; r=ahal 2017-08-11 14:30:25 -06:00
Wes Kocher ef0d82bb2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HSkzFTcnhOy
2017-08-11 13:25:37 -07:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Wes Kocher 3985469cdb Bug 1388424 - Fix flake8 issue a=me
MozReview-Commit-ID: 4OcGtGQfgyD
2017-08-11 13:04:38 -07:00
Mike Hommey 47bc56acc7 Bug 1389398 - Remove remaining clang entries in windows tooltool manifests. r=gps
Since the buildbot-based Windows builds using releng.manifest are busted
anyways, there is no reason to keep clang entries in there. Which makes
those manifests identical to clang.manifest, so remote the latter.

--HG--
extra : rebase_source : eef7eca4bafc4e348eadc04d6da2bd17ea20deea
2017-08-11 16:16:32 +09:00
Andreas Tolfsen 94e1614eb3 Bug 1388424 - Read capabilities off top-level object. r=whimboo
geckodriver sends capabilities as a JSON Object in the body of the
command, like this:

	[0,1,"newSession",{"acceptInsecureCerts":true}]

With https://bugzil.la/1387380 we wanted the Marionette Python client
to match this behaviour, however the patch overlooked the fact that
the server reads cmd.parameters.capabilities, meaning it looks for a
"capabilities" field on this object instead of treating the object as
the dictionary of capabilities.

As a follow-up to that bug, this patch removes the ability to override
the session ID by specifying a "sessionId" field.  This functionality
was only used for in-app restart tests.  When Firefox restarts, the
Marionette session is arguably not the same, and sessions should not
live on between restarts.

This patch will fix capabilities passed from geckodriver and align the
Marionette Python client.

For backwards compatibility reasons, it needs to be possible to use the
Python client with older Firefoxen that reads cmd.parameters.capabilities
instead of cmd.parameters.  This is why we duplicate the capabilities
object, like geckodriver does.

MozReview-Commit-ID: DCpaxl9hOLe
2017-08-11 11:06:15 +02:00
Hiroyuki Ikezoe 1acd529a6b Bug 1341102 - Update wpt expectations. r=me
outside-shape is now animatable as discrete type.

https://hg.mozilla.org/integration/autoland/rev/79a29b14cc26

MozReview-Commit-ID: CA1RT6K3Ak5
2017-08-11 21:33:35 +09:00
Masatoshi Kimura 5b97708fef Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot
MozReview-Commit-ID: 81ZkeYdSPVW

--HG--
extra : rebase_source : 2f30565b8d5986ef6265027562f9842d0db2688e
2017-08-06 13:15:31 +09:00
Sebastian Hengst c3f9d66a33 Backed out changeset 2cf4290c2eef (bug 1388424) for failing marionette's test_quit_restart.py TestQuitRestart.test_force_clean_restart. r=backout 2017-08-11 12:11:14 +02:00
Andreas Tolfsen 43dd368771 Bug 1388424 - Read capabilities off top-level object. r=whimboo
geckodriver sends capabilities as a JSON Object in the body of the
command, like this:

	[0,1,"newSession",{"acceptInsecureCerts":true}]

With https://bugzil.la/1387380 we wanted the Marionette Python client
to match this behaviour, however the patch overlooked the fact that
the server reads cmd.parameters.capabilities, meaning it looks for a
"capabilities" field on this object instead of treating the object as
the dictionary of capabilities.

As a follow-up to that bug, this patch removes the ability to override
the session ID by specifying a "sessionId" field.  This functionality
was only used for in-app restart tests.  When Firefox restarts, the
Marionette session is arguably not the same, and sessions should not
live on between restarts.

This patch will fix capabilities passed from geckodriver and align the
Marionette Python client.

For backwards compatibility reasons, it needs to be possible to use the
Python client with older Firefoxen that reads cmd.parameters.capabilities
instead of cmd.parameters.  This is why we duplicate the capabilities
object, like geckodriver does.

MozReview-Commit-ID: DCpaxl9hOLe

--HG--
extra : rebase_source : 4464d9510ec8cc8a36a834d5b4b1178752dd488b
2017-08-08 17:37:41 +01:00
Wes Kocher eb3058e466 Backed out 3 changesets (bug 1382499) for eslint failures a=backout
Backed out changeset 0ebb9924affa (bug 1382499)
Backed out changeset c25b50b0edc5 (bug 1382499)
Backed out changeset 1dcdc22d4919 (bug 1382499)

MozReview-Commit-ID: 9rygU1QF1kb
2017-08-11 13:49:34 -07:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Chung-Sheng Fu bb418d8e1e Bug 1382499 - Fix typo in testing/mochitest/tests/SimpleTest/EventUtils.js r=smaug
MozReview-Commit-ID: B6wo6Px54jk

--HG--
extra : rebase_source : efbba991267c78caca0f5c224e59cafc5c0ecb02
2017-08-03 16:02:07 +08:00
Jing-wei Wu b8623cde12 Bug 1375351 - Part 1: Remove Australis flavor. r=maliu,nalexander,sebastian
We should now only maintain Photon flavor. Remove all Australis related configuration in build scripts.

MozReview-Commit-ID: H4LE8LAso42

--HG--
extra : rebase_source : 2d5a05e43b261d573677834210a7b3fb18aebcac
2017-08-10 10:19:33 +08:00
J. Ryan Stinnett 7d6a07aa90 Bug 1389153 - Skip more shadow DOM tests for Stylo. r=heycam
MozReview-Commit-ID: Arz7INgvzhH

--HG--
extra : rebase_source : 4b05b842aaad29fe9cad57f45be93db69ce1d1b7
2017-08-10 12:07:50 -05:00
Stone Shih 665fb7cd54 Backed out changeset de4929e39b7e (bug 1351148) 2017-08-11 15:19:30 +08:00
Francois Marier efd8a780bd Bug 1387612 - Show Safe Browsing timeouts in Marionette logs. r=whimboo
MozReview-Commit-ID: 2GbcPnakEku

--HG--
extra : rebase_source : 6339c80fbb44d95eab653ac6681d8e8a6d42ab70
2017-08-04 16:57:49 -07:00
Sebastian Hengst dfdb63cdb8 Backed out changeset 69f808119fa3 (bug 1254136) for failing marionette-headless' test_cli_arguments.py TestCommandLineArguments.test_start_in_safe_mode on OS X and in marionette on Linux opt. r=backout 2017-08-11 09:06:41 +02:00
Aryeh Gregor 5450e8c4d5 Bug 1389207 - Document named getter should not return <embed>s by id; r=mystor
Spec: https://html.spec.whatwg.org/#dom-document-nameditem-filter

Edge, Chromium, and WebKit all pass the WPT test.

MozReview-Commit-ID: K63DlLiMxGa

--HG--
extra : rebase_source : 5440bf22a5ab79858677cf0381f9a9aa548041c2
2017-08-10 22:06:46 +03:00
Henrik Skupin f82940708a Bug 1388627 - close_chrome_window always operates in chrome context. r=automatedtester
MozReview-Commit-ID: J1R407tTuy4

--HG--
extra : rebase_source : bd508f1d3dcdfe08580e3dca4c4a64ac507efa92
2017-08-09 10:40:47 +02:00
Henrik Skupin 98282f804b Bug 1388627 - Remove obsolete Wait.until() calls from Window Manager Mixin. r=automatedtester
Given that both 'close' and 'close_chrome_window' wait for the underlying
tab or window to be closed, there is not need to explicitely wait in tests.

MozReview-Commit-ID: HOGgqzkNE9d

--HG--
extra : rebase_source : 0a1b197d499c9c2528e67e61172d90579f7ad696
2017-08-09 10:23:09 +02:00
Henrik Skupin c77841c654 Bug 1254136 - Fix double registration for sessionstore-windows-restored. r=automatedtester
MozReview-Commit-ID: Dp6fncj463j

--HG--
extra : rebase_source : d69b5f5fc5f4e881c6d4b5e80576360078a59a0d
2017-08-10 18:04:47 +02:00
Boris Zbarsky 0dd7bb3d5e Bug 1388625 part 6. Flag the in-flow frames of kids of various wrapper frames during frame construction, so we know to restyle the wrapper frames. r=heycam
MozReview-Commit-ID: 8KNug88sGp

--HG--
extra : rebase_source : 02cd19bcab6595a5fe86ea076207a8c84da4229e
2017-08-11 00:10:27 -04:00
Brian Birtles 958f58c18c Bug 1385141 - Update test expectations for web-animations/interfaces/KeyframeEffect/constructor.html; r=hiro
MozReview-Commit-ID: ErzWaXq3DfH

--HG--
extra : rebase_source : 061e6f8220ad5aaf651382c89ed6fafaa7469c56
2017-08-10 17:50:43 +09:00
Wes Kocher cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher 936a9461f6 Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Sebastian Hengst cc56cbe3ff merge mozilla-central to autoland. r=merge a=merge 2017-08-10 17:23:44 +02:00
Sebastian Hengst 4b79f3b23a merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: mN7ThnGN3X
2017-08-10 17:20:12 +02:00
Sebastian Hengst 01f51a3571 Backed out changeset 85b4584e1a83 (bug 1384969) for dropping debug and trace output from Marionette. r=backout a=backout
MozReview-Commit-ID: Bc8BwL6aatK
2017-08-10 11:45:36 +02:00
Sebastian Hengst 6a474244a8 Backed out changeset 78d87b59f5a7 (bug 1370508) for unexpected pass of wpt-reftest /css/css-namespaces-3/syntax-013.xml. r=backout on a CLOSED TREE 2017-08-10 10:23:22 +02:00
Sebastian Hengst 51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Kartikaya Gupta 9d6afca9fb Bug 1388833 - Force-enable hardware acceleration for test suites that enable WebRender, because HWA is now a WR requirement. r=ahal
MozReview-Commit-ID: EtUdSeDCmFZ

--HG--
extra : rebase_source : 50472e3478d55bec36a1067d3e566ab2ac79c565
2017-08-09 16:23:04 -04:00
Kris Maglione 035c1ac303 Bug 1388954: Remove usages of deprecated SDK modules in DAMP tests. r=bgrins
MozReview-Commit-ID: EqkHiEX2PNr

--HG--
extra : rebase_source : f6d47bd852803d8080a0eb2a0c33ce1b7804a84d
2017-08-09 19:39:32 -07:00
btian 1acd604a98 Bug 1384030 - Enable setting <input type=file>.files. r=smaug 2017-08-08 17:49:48 +08:00
Aryeh Gregor be9bccc716 Bug 1388746 - Do not split start/end text nodes in deleteContents/extractContents; r=smaug
If a range endpoint is in the middle of a text node, and you call
deleteContents() or extractContents(), the spec says to delete the data
from the node.  In the case of extractContents(), the new text node
that's inserted into the DocumentFragment is a clone with its data set
to the bit that was deleted.
<https://dom.spec.whatwg.org/#dom-range-deletecontents>
<https://dom.spec.whatwg.org/#dom-range-extractcontents>

We don't do this.  Instead, we split the text node.  Then the bit to
delete is deleted naturally at a later stage together with all the other
nodes.

The result is the same, but on the way there we do a bunch more node
mutations.  This causes extra mutation records, which cause us to fail a
WPT test.  Chrome passes.  Changing to match the spec actually reduces
our lines of code anyway.

MozReview-Commit-ID: FTTV5yNSj71

--HG--
extra : rebase_source : 8d5f36c68c71db0700f0b86d1a73462759f922e8
2017-08-09 17:39:06 +03:00
Dão Gottwald ac234bd18b Bug 1386964 - Set default tab height, mark flaky viewport-units-css2-001.html subtests as passing on Linux as well as anchoring-with-bounds-clamping.html on Mac. r=dholbert
MozReview-Commit-ID: 2gNQSImPfw1

--HG--
extra : rebase_source : d9c78ddbc9196f5f9975e78cc7715b0adb8b4b1a
2017-08-10 07:37:47 +02:00
Xidorn Quan a0b8a2c68d Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : f5ffeaa615076035215f5ac1b9b39aa5cb15d618
2017-08-09 19:57:33 +10:00
Phil Ringnalda 5bf938ebcd Backed out changeset 4c274336b01e (bug 1386964) for unexpected passes in /scroll-anchoring/anchoring-with-bounds-clamping.html
MozReview-Commit-ID: Id1MCoaN242
2017-08-09 21:15:27 -07:00
Xidorn Quan a7579e7241 Bug 1383992 part 2 - Enable some more mochitests for stylo. r=jmaher
MozReview-Commit-ID: AnZAxhPwwEB

--HG--
extra : rebase_source : 89418b819a53f1d1e5a5cd2861f31af1ff901844
extra : source : 1bc1f2000c0a4e9e23f5e2f05b7d95e44c615238
extra : histedit_source : ad7d9650d49c698d03d6397aa1ad27e860ae7827
2017-08-09 08:31:26 +10:00
Ryan VanderMeulen 6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Dão Gottwald f623d60510 Bug 1386964 - Set default tab height and mark flaky viewport-units-css2-001.html subtests as passing on Linux. r=dholbert
MozReview-Commit-ID: 5gLgepyDiaW

--HG--
extra : rebase_source : dacd6ced6843e8c819733b05a95eafab853873a9
2017-08-09 22:05:22 +02:00
Henrik Skupin e051e64a33 Bug 1386977 - Handle popstate events for page loads. r=automatedtester
In case of websites manipulating the browser's history via history.pushState
there will be no usual page load events fired. Instead listeners for popstate
events have to be used.

When such an event occurs we can directly return because the browser will
not load the underlying page. This only happens when navigating to another
page first, or restarting Firefox.

MozReview-Commit-ID: 3PceeYK9Co7

--HG--
extra : rebase_source : 30c162f72279712920a96ebc2076db27d01c41b6
2017-08-08 19:48:35 +02:00
Kartikaya Gupta 1912af35f9 Bug 1388726 - Force-enable acceleration in the regular linux reftest suite. r=jmaher,jrmuizel
MozReview-Commit-ID: FNU7hEN3Jkf

--HG--
extra : rebase_source : d8f21f99a3d98904a9b3d4b402226c0c58519b63
2017-08-09 12:48:08 -04:00
Kartikaya Gupta 085bdaee0b Bug 1388726 - Fix the pref used to disable acceleration in linux reftest-unaccelerated runs. r=jmaher
MozReview-Commit-ID: HaYzi1x87q1

--HG--
extra : rebase_source : f88d21508d69e68820e5856189a422d1388a25b1
2017-08-09 11:17:49 -04:00
Mark Banner 04f22c3207 Bug 1388725 - Fix add_task in SpawnTask.js to give a useful crash for unhandled exceptions. r=jmaher
MozReview-Commit-ID: 6ZTKhi1eZ4P

--HG--
extra : rebase_source : 86e90eeaca6410765d0795f323919df921e8799d
2017-08-09 14:16:27 +01:00
Andreas Tolfsen 17551fc789 Bug 1388365 - Test window rect state. r=whimboo
MozReview-Commit-ID: 1MoA370SUeW

--HG--
extra : rebase_source : 7c387709ea637c479a5533cce55f4a9715c2645a
2017-08-08 14:59:37 +01:00
Andreas Tolfsen f21cc713c4 Bug 1388365 - Return value from assert_success. r=whimboo
Return the contents of value, if it exists, after asserting the response
was successful.

assert_success can be passed a value which will assert that the response's
value matches an expected value.  If you want to compare a subsection
of the response it may be convenient to for the value to be returned
after it has been asserted that the response was a success.

MozReview-Commit-ID: 1dyzQIazYEN

--HG--
extra : rebase_source : f628f1fa144ccfd026b21df1b4bc2e748b08413c
2017-08-08 15:37:15 +01:00
Andreas Tolfsen ba1a5cc488 Bug 1388365 - Add minimize and fullscreen to client.Window. r=whimboo
MozReview-Commit-ID: KMqJmnAwGEY

--HG--
extra : rebase_source : 1a738b28dd470c9a2df765f87eac4375539570fa
2017-08-08 15:36:38 +01:00
Andreas Tolfsen df65a93025 Bug 1388365 - Add client.Window#state and #rect. r=whimboo
Introduces two new APIs on client.Window in the WPT WebDriver client:
client.Window#state and client.Window#rect.  The latter is used to reduce
raw calls amongst client.Window's shorthands to GET window/rect.

MozReview-Commit-ID: Kf4P2q93QaL

--HG--
extra : rebase_source : cd38db307a3db08c0cc94eb7adb582bd885987e2
2017-08-08 14:59:09 +01:00
Andreas Tolfsen 69dc2e2dfa Bug 1388365 - Return window to normal state. r=whimboo
If a test leaves the window in maximized, minimized, or fullscreen
state it should be returned to the normal state the next time a session
is requested.

MozReview-Commit-ID: IALlITFVz1w

--HG--
extra : rebase_source : df1944bc73d967fa9ff0fe4e60e7815044afef0b
2017-08-08 14:57:24 +01:00
Andreas Tolfsen 8104c26b91 Bug 1388365 - Vendor webdriver 0.29.0. r=whimboo
MozReview-Commit-ID: 3vhk9kfmDHD

--HG--
extra : rebase_source : 393c3ff983444bc8639d3ed94edce0b27dabe522
2017-08-08 15:10:55 +01:00
Andreas Tolfsen a68cdde16c Bug 1388365 - Upgrade to webdriver 0.29.0. r=whimboo
Upgrades the webdriver crate dependency to 0.29.0, which contains some
backwards incompatible changes for RectResponse.  This type has been
split in two, WindowRectResponse and ElementRectResponse.

The former type contains a new "state" field which is already implemented
by Marionette.  Because geckodriver is used with a range of earlier
Firefoxen, it defaults to "normal" window state if the field is not
returned from Marionette.  This is acceptable.

MozReview-Commit-ID: FRxppRVmiZl

--HG--
extra : rebase_source : 4a86659f337598bb4f5623c51f5df288c8a5dd69
2017-08-08 15:09:45 +01:00
Valentin Gosu a44fac0e8f Bug 1380617 - Fix web platform tests meta to expect punycode encoding r=annevk
MozReview-Commit-ID: 4PU6Zg105SB
2017-08-09 17:44:12 +02:00
muthuraj90ec 0d332730e8 Bug 1370403 - Synthesize contextmenu MouseEvent when performing webdriver actions; r=maja_zf
MozReview-Commit-ID: 85nQTsTRttF
2017-08-09 07:51:18 -04:00
Aryeh Gregor ee2971cce8 Bug 1388775 - extractContents should copy nodes in tree order, not backwards; r=smaug
Per spec, Range.prototype.extractNodes() should copy the nodes in tree
order:

https://dom.spec.whatwg.org/#dom-range-extractcontents

Gecko instead copies them in reverse order.  This causes us to fail a
wpt MutationObserver test.

MozReview-Commit-ID: 8MYXGhDsJCd

--HG--
extra : rebase_source : 94fb2e96370e575906ba9927d904561744a1d7bb
2017-08-09 18:40:21 +03:00
Gregory Szorc 4cbf24d4e2 Bug 1389715 - Vendor latest robustcheckout; r=ted
From revision 19db5f4b5b10f639d24e69a4f21e4e80c6e5bbdd of
version-control-tools. Previous revision was
249a47720ddcf896a9f07600c429a1b4492b805e.

Changes include:

* Use new vfs APIs when available (bug 1359959)
* Mark as compatible with Mercurial 4.2 (bug 1361182)
* Retry after SSLError (bug 1354824)
* Mark as compatible with Mercurial 4.3
* Detect and recover from open locks (bug 1297153)

The most significant is the last one. TaskCluster can SIGKILL
`hg`, leading to orphaned transactions and locks. This can lead
to timeouts or use of a corrupt repository in some scenarios.
Those problems should no longer occur.

MozReview-Commit-ID: QAOSLyc0xD

--HG--
extra : rebase_source : c241626a5a59391b80baf34d50e90fc543e636f7
2017-08-11 14:55:24 -07:00
Wes Kocher 223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Wes Kocher 650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Aryeh Gregor 82ee59d8c7 Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug
They were just dropped from the spec:

https://github.com/whatwg/dom/issues/362
https://github.com/whatwg/dom/pull/489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

--HG--
extra : rebase_source : 4bdcd605b179ea787985845e9b1c53f76ebc179a
2017-08-07 21:19:59 +03:00
Carsten "Tomcat" Book 635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Carsten "Tomcat" Book 0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
dagasatvik d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Andreas Tolfsen 5f75a47a96 Bug 1388072 - Drop Marionette fallback prefs from geckodriver. r=automatedtester
The marionette.defaultPrefs.port and marionette.logging preferences were
removed in https://bugzil.la/1344748, which shipped in Firefox 54.
Because the next version of geckodriver (0.19.0) will only support
Firefox 55 and greater, it is safe to remove the fallbacks.

MozReview-Commit-ID: 4fhtoRasqyB

--HG--
extra : rebase_source : 0ac6dff0343efd66312a482f2be832e95013be48
2017-08-07 16:13:54 +01:00
J. Ryan Stinnett 11508b0f88 Bug 1385027 - Update Stylo test annotations for Windows. r=manishearth
MozReview-Commit-ID: 7FPPAga0jgW

--HG--
extra : rebase_source : 5fe4189caf99b23e56cf87f6ebaea332058a3e80
2017-08-01 16:32:48 -05:00
Geoff Brown 4fc548a698 Bug 1385629 - Use correct tooltool cache directory for Marionette and Firefox-UI tests on osx; r=whimboo 2017-08-08 09:31:57 -06:00
Alphan Chen 252278116e Bug 1362075 - Correct window.open() URL failure exception. r=ehsan
--HG--
extra : rebase_source : 6a9e42e6b6528890631c89b14684578cc8475364
2017-08-08 02:07:00 +02:00
Aryeh Gregor 39290528d2 Bug 1388069 - Support createEvent("FocusEvent"); r=smaug
This is the one event we don't support in createEvent() that Blink
doesn't want to drop support for because they see nontrivial usage:

https://www.chromestatus.com/metrics/feature/timeline/popularity/1171

Supporting it shouldn't hurt us and might make us work better on
whatever the sites are that Blink is hitting.

MozReview-Commit-ID: FbfTd6AYnDg

--HG--
extra : rebase_source : f6bbcbd04af87349064b965814571e832932c130
2017-08-07 20:52:41 +03:00
Kartikaya Gupta 8b8a999a38 Bug 1388423 - Get full rust backtraces everywhere. r=jmaher
MozReview-Commit-ID: 2Mfrpupz7As

--HG--
extra : rebase_source : 9b612430360fe46162f433f13667664188ceac55
2017-08-08 12:34:55 -04:00
Andrew Halberstadt c2f15eecbf Bug 1328830 - Add ability to set prefs from the DEFAULT section of a mochitest manifest, r=jmaher
This will only work if runByManifest is enabled, otherwise the harness will error out. It's also
illegal to set this on an individual test, it must be on the entire manifest.

MozReview-Commit-ID: LWYa3Sk1uyW

--HG--
extra : rebase_source : ea4add087c795324745a0a5fc18b3ef50b2292b0
2017-07-20 09:31:32 -04:00
Andrew Halberstadt 8aa5097ff5 Bug 1328830 - Switch mochitest's --run-by-dir feature to --run-by-manifest, r=gbrown
MozReview-Commit-ID: LWYa3Sk1uyW

--HG--
extra : rebase_source : d6ef206b47cdade4f316e52508030ab8c3c6d0da
2017-07-20 12:10:15 -04:00
Andrew Halberstadt 57887f2601 Bug 1328830 - [manifestparser] Check line continuation before looking for next key, r=jmaher
Currently manifestparser will only look for line continuations *after* looking for a key. This means
that line continuations cannot contain key separators. For example, this:

    [test]
    foo=
      bar=baz

gets treated as:

    {'name': 'test', 'foo': '', 'bar': 'baz'}

Here, bar=baz will be treated as a new key/value pair despite the indentation. This patch switches
the order around, so we look for a continuation first. Now, it is only treated as a continuation if
the indent is greater than the indent of the preceding key.

So this manifest:

    [test]
    foo=bar
      baz=fleem

is a continuation and results in:

    {'name': 'test', 'foo': 'bar\nbaz=fleem'}

But this manifest:

    [test]
      foo=bar
      baz=fleem

is not a continuation, and yields:

    {'name': 'test', 'foo': 'bar', 'baz': 'fleem'}

MozReview-Commit-ID: FAMP5TUIo9q

--HG--
extra : rebase_source : 624c53cfe0565374c1224dd86a3fffc8831279d3
2017-07-19 14:48:01 -04:00
Wes Kocher 605d2e076e Backed out changeset 76f32438e9f9 (bug 1335353) for breaking talos on at least linux a=backout CLOSED TREE
MozReview-Commit-ID: HjLu5vAr2Bl
2017-08-14 12:02:17 -07:00
Aryeh Gregor 6bdc69c563 Bug 718711 - Don't return selections for documents that don't have them; r=smaug
Per spec, getSelection() should return null when the document is not
associated with a browsing context.

MozReview-Commit-ID: B6QbLWVmfcF

--HG--
extra : rebase_source : 4826ba52726ac413bc8c4b95cc309da7ce7986ab
2017-08-13 14:17:28 +03:00
William Lachance b16d5c2ff2 Bug 1390208 - Remove metro-specific code from testing/mozbase r=ahal
MozReview-Commit-ID: 5SPYXXTlFFt

--HG--
extra : rebase_source : 59d06862b4ff2408da69ac595511fdfff3cfdc0e
2017-08-14 13:12:07 -04:00
Dustin J. Mitchell bbdfd9d8a5 Bug 1335353: remove refs to /tools/buildbot; r=aki
On Taskcluster machines, /tools/buildbot doesn't exist.  It turns out, nothing
refers to exes['python'] anyway, so we can just remove that (the preference is
to use sys.executable instead).

The references to exes['buildbot'] were all for sendchanges from builds to
tests, and those too are all gone now.

Lines like

   'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],

Were committing two sins: first, using a python executable from a random
virtualenv; and second, using a virtualenv.py from another random directory (in
this case, it's a utility script for a PuppetAgain module). Such lines are
replaced with a reference to /tools/virtualenv/bin/virtualenv, which is
installed for the express purpose of providing a virtualenv binary on testers
(for builds, we use the vendored copy).

MozReview-Commit-ID: 4iHX3B3MLyK

--HG--
extra : rebase_source : e4b4902a19d688b148c136bd10c706fc127cbf2d
2017-08-10 17:05:11 +00:00
Andreas Tolfsen 7cf5d04a5e Bug 1388082 - Drop Task.jsm from Marionette. r=automatedtester
MozReview-Commit-ID: HbEHjOv1W3g

--HG--
extra : rebase_source : 8eb72aed9138dcfbe2fbe9d15e9a286944ae64a3
2017-08-07 19:02:20 +01:00
Andreas Tolfsen a388449f1f Bug 1388082 - Remove unused import. r=automatedtester
MozReview-Commit-ID: 1W6eI99Ze40

--HG--
extra : rebase_source : 277fe9280e71db8afff5ad3a588e2155d589adf8
2017-08-07 19:01:20 +01:00
Andreas Tolfsen b5560cd3ea Bug 1388082 - Convert content script to async/await. r=automatedtester
MozReview-Commit-ID: GHyhwa91L73

--HG--
extra : rebase_source : 9c82555641ca4ee3e496d35fd76fa24d7ba60e37
2017-08-07 18:59:45 +01:00
Andreas Tolfsen 2075d0f6df Bug 1388082 - Use async/await in wait module xpcshell tests. r=automatedtester
MozReview-Commit-ID: C0C0GBS9fWr

--HG--
extra : rebase_source : 1a62a0cca34afbe7aca970e5ee0f5281d8939a56
2017-08-07 18:58:09 +01:00
Andreas Tolfsen e13cd58584 Bug 1388082 - Use async/await in reftest module. r=automatedtester
MozReview-Commit-ID: 9sUL77lPCK1

--HG--
extra : rebase_source : 4388640825b40e8cb93216d1f1323ebabd474c16
2017-08-07 18:57:37 +01:00
Andreas Tolfsen 0b25415ec8 Bug 1388082 - Update proxy examples and docs. r=automatedtester
MozReview-Commit-ID: AhR9ZSxpHQF

--HG--
extra : rebase_source : f86efa4c58c080135f9d47248300e321120186ae
2017-08-07 18:57:11 +01:00
Andreas Tolfsen 65b371f187 Bug 1388082 - Switch to async/await in interaction module. r=automatedtester
MozReview-Commit-ID: 2aUUrT3KXRF

--HG--
extra : rebase_source : c8d9b411c59da2979fc9b08fa1d09afec8f82d9b
2017-08-07 18:56:29 +01:00
Andreas Tolfsen 4e649b2c30 Bug 1388082 - Switch to async/await in action module. r=automatedtester
MozReview-Commit-ID: EREW0Hmmtb6

--HG--
extra : rebase_source : 6c9d6193e7031ee3f2d89042618f35cd36d303b1
2017-08-07 18:56:08 +01:00
Andreas Tolfsen ac8a376af8 Bug 1388082 - Convert execute script methods to async. r=automatedtester
MozReview-Commit-ID: 6oUZ4v8snh0

--HG--
extra : rebase_source : 1ce7c286b0bce68ffaf74a6c8235ce57ca39af8a
2017-08-07 16:53:02 +01:00
Andreas Tolfsen 351fdfb92f Bug 1388082 - Make WebDriver service use async/await. r=automatedtester
MozReview-Commit-ID: A1dW91OvGcG

--HG--
extra : rebase_source : af8cf1d157f2fe4fdcd0e96b06ebe87e23d22a73
2017-08-07 16:52:37 +01:00
Stone Shih 55c5359fa6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Stone Shih b27577d8d6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Mihai Tabara ab95df718f Bug 1386706 - cleanup self-serve inheritance from gecko_migration script. r=aki a=release DONTBUILD CLOSED TREE
MozReview-Commit-ID: 9zTax5FEvJf

--HG--
extra : source : 457a73c54474dd1fd3af808bf5ab38f2d0c895a8
extra : amend_source : 8b659c877f113cadc69b0d77d5305ec827e946f1
2017-08-14 16:46:50 +03:00
Tobias Schneider f0916b9a55 Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Log time deltas. m=me,test-only
--HG--
extra : rebase_source : 200ffe81f27003e3e74753099eb947ef7dcc38e6
2017-08-07 18:24:13 -07:00
Wes Kocher cf8f3268a1 Merge inbound to central, a=merge
MozReview-Commit-ID: 5tBON9YUdAO
2017-08-07 15:23:46 -07:00
Andreas Tolfsen a791c795cb Bug 1387380 - Stop capabilities negotiation in Marionette. r=whimboo
The geckodriver HTTPD proxy implements WebDriver conforming capabilities
negotation and it is unnecessary to do this in the Marionette WebDriver
service.  The capabilities matching that Marionette implements is also
not as good as the implementation found in geckodriver.

The WebDriver:NewSession command will still accept a JSON Object of
"configuration" capabilities that carry the pre-matched capabilities from
geckodriver.  These will be used as configuration options for the session.
Type- and bounds checks will still be performed on this input.

MozReview-Commit-ID: CROjgGuTXOG

--HG--
extra : rebase_source : eb7e9f69fe3b23b77ea497d758fe30ac93d6373c
2017-08-04 20:04:12 +01:00
Carsten "Tomcat" Book a24b9505f9 Merge mozilla-central to autoland 2017-08-07 13:16:54 +02:00
Phil Ringnalda 985060f524 Bug 1303802 - reenable rootNode test chunk now that we don't have a rootNode implementation so the rootNode test which failed when we had one now passes when we don't have one
MozReview-Commit-ID: 45C8gxzo8p3
2017-08-06 18:41:50 -07:00
Matthew Noorenberghe 7da630dcc5 Bug 1387634 - Update unsupported @autocomplete token list to reflect the autofill MVP. r=smaug
Also remove stale expected failures for region and locality.

MozReview-Commit-ID: 7McvaCWfY3a

--HG--
extra : rebase_source : e94b5e30df85f911fe8f5ce52dbd6459efbc92df
2017-08-04 16:15:31 -07:00
James Graham c5d28e1e9b Bug 1387534 - Update test metadata to reflect the fact it fails on all OSX builds, a=testonly
MozReview-Commit-ID: 4vOGDMIMN26
2017-08-07 11:53:51 +01:00
Aryeh Gregor b39b65ff8e Bug 1363658 - Serializing doctypes should omit internal subset; r=hsivonen
Changes to match spec, Chrome, and Safari.  The spec was discussed and
is what we want -- we already expand entities from the internal subset
when parsing, so there's no need to remember their definitions.  Indeed
it seems like it would make sense to alter the parser to throw away the
internal subset entirely at the end of parsing.

MozReview-Commit-ID: LDvYAqSZkgE

--HG--
extra : rebase_source : 928722b51d931a3c1ce358b2346c5e535bfa16df
2017-08-03 15:33:55 +03:00
Aryeh Gregor 7d661d1755 Bug 1370835 - Match new standard for span IDL property; r=mystor
https://github.com/whatwg/html/issues/2705
https://github.com/whatwg/html/pull/2734

MozReview-Commit-ID: 7Sso9sO8f7y

--HG--
extra : rebase_source : be2560dce0619c377d570852f92efb5fad0d86ad
2017-08-03 21:24:56 +03:00
David Burns 74b035b657 Bug 1387644 - Return NoSuchElementError when element is not found r=ato
MozReview-Commit-ID: LDHiyce09GR

--HG--
extra : rebase_source : dff3b50237a3d124c0c41458c0adaf94694f45ef
2017-08-05 00:50:46 +01:00
Sebastian Hengst b52285fffc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LBuvGxGDK9k
2017-08-06 11:05:44 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Andreas Tolfsen da6629ba61 Bug 1387559 - Drop session_id fallback for WebDriver:NewSession. r=automatedtester
The WebDriver service in the remote protocol accepts sessionId and
session_id and we only need on.  All known consumers are using sessionId,
and we can drop the session_id fallback.

MozReview-Commit-ID: 6fa5Lgkzwfu
2017-08-05 17:35:54 +01:00
Andreas Tolfsen 5ec99cbafd Bug 1387457 - Convert element click functions to async. r=automatedtester
The element click functions in testing/marionette/interaction.js are
generator functions using "yield".  This patch converts them to async
functions.

MozReview-Commit-ID: 4A4cTaY619w
2017-08-05 17:21:06 +01:00
Sebastian Hengst 39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Phil Ringnalda 2685e4feb0 Backed out changeset 8bd84dfdba0d (bug 1387457) for eslint bustage
MozReview-Commit-ID: 4wgm2jnoDsl
2017-08-04 19:41:37 -07:00
Andreas Tolfsen 26e6ac4cfd Bug 1387461 - Add note to remove element.isVisible. r=automatedtester
DONTBUILD

MozReview-Commit-ID: AO8ikaX6RHB

--HG--
extra : rebase_source : d222314bc744df440594946f3b88435c5a89b17e
2017-08-04 15:51:19 +01:00
Andreas Tolfsen 2777c1c3a7 Bug 1387457 - Convert element click functions to async. r=automatedtester
The element click functions in testing/marionette/interaction.js are
generator functions using "yield".  This patch converts them to async
functions.

MozReview-Commit-ID: 4A4cTaY619w

--HG--
extra : rebase_source : 1b6f1b545f438ae253fd4024500bf41536d976aa
2017-08-04 15:45:02 +01:00
Xidorn Quan 4dc514bedb Bug 1385469 - Add wpt for line direction in -webkit-prefixed linear gradient function. r=dholbert
MozReview-Commit-ID: 9ePs7bYrq5P

--HG--
extra : source : 667325a42c4079ab170f6da74add7e83773f0e24
2017-08-05 10:27:54 +10:00
Andreas Tolfsen b7b13729fe Bug 1387552 - Document pageLoadStrategy in geckodriver README. r=automatedtester
MozReview-Commit-ID: 7oR84Hm9njP

--HG--
extra : rebase_source : c445670978447f21d28a2388e6dfd08aa5d67ff6
2017-08-04 20:40:58 +01:00
Andreas Tolfsen 0ff114d334 Bug 1387552 - Order capabilities lexicographically. r=automatedtester
MozReview-Commit-ID: GBvz053VdEm

--HG--
extra : rebase_source : 6b664988db52b363dd6a84dc1460ce473b7bcaa1
2017-08-04 20:36:24 +01:00
Andreas Tolfsen 895f6b68a5 Bug 1387447 - Update accessibility pointer-events expectations. r=yzen
With a WebDriver-conforming Element Click implementation, the element
click intercepted error is returned when an element with pointer-events:
"none" causes the click to hit the underlying element.

This patch does not functionally change anything yet about the
accessibility tests, but splits disabled_accessibility_elementIDs into
two lists, aria_disabled_elements and pointer_events_none_elements, in
anticipation of moving Marionette to use a different click implementation.

In the future, the ARIA tests will fail with "element not accessible"
errors as they do now, but the pointer-events tests will fail with
"element click intercepted" instead.

MozReview-Commit-ID: Ks1hyUVyLK7

--HG--
extra : rebase_source : 20dbcc228955626cd2d1617aa055f29f4e5928a4
2017-08-04 15:16:37 +01:00
Andreas Tolfsen e6afed160b Bug 1381876 - Ensure Maximize Window is synchronous. r=automatedtester
Because the sizemodechange event is not synchronous on all platforms,
we additionally need to await the window's dimensions to change.

However, if the window manager does not have a notion of a maximised
state, this operation too could time out.  However, it is believed
that the additional wait will allow for the window to transition to the
required state in this scenario.

MozReview-Commit-ID: KeHJMKSJfjQ

--HG--
extra : rebase_source : 797b3be8f6adb027f15dd638f22afa6efd0f0432
2017-08-01 18:30:52 +01:00
Andreas Tolfsen e611d3c375 Bug 1381876 - Introduce TimedPromise. r=automatedtester
This introduces a specialisation of the well-known Promise that can
time out after a set limit, causing the promises' "reject" callback to
be invoked.

The TimedPromise object represents the timed, eventual completion
(or failure) of an asynchronous operation, and its resulting value.
In contrast to a regular Promise, it times out after a set timeframe.

MozReview-Commit-ID: Rb3POsPYeT

--HG--
extra : rebase_source : cdff792dfa43af3cff1b20b3e81edb1a826e561e
2017-08-01 18:28:13 +01:00
Andreas Tolfsen c956360dcb Bug 1381876 - Rename WaitCondition to Condition. r=automatedtester
The condition can be used for other things than poll-waiting.

MozReview-Commit-ID: 1sudv5JuEQT

--HG--
extra : rebase_source : ff58917f6fc0a860e149805ad838816541091705
2017-08-01 18:26:09 +01:00
Andreas Tolfsen cc1f6bf3b3 Bug 1381876 - Skip resetting namespaced interfaces in client.Session. r=automatedtester
Resetting these interfaces means they will not be set up again if the
client.Session instance is reused.

MozReview-Commit-ID: 7JW61VrMFpD

--HG--
extra : rebase_source : 6cf19950ab66e04f1e8999dc13497c435249c98d
2017-08-01 18:23:47 +01:00
Andreas Tolfsen 5a4b1ff65e Bug 1381876 - Make client.Session#maximize a method. r=automatedtester
The Maximize Window command is a POST endpoint and should consequently
be a method, not a property.

MozReview-Commit-ID: DJfKdhMIX75

--HG--
extra : rebase_source : 03409f3a30ac338704921801832d3210e8ef9236
2017-08-01 18:22:52 +01:00
Andreas Tolfsen 29bd3722d2 Bug 1381876 - Allow assert_success to be used without an expected value. r=automatedtester
It happens that we receive responses that do not have a body value.
We want to be able to use assert_success with these as well.

MozReview-Commit-ID: B1f0Hn406Nj

--HG--
extra : rebase_source : 6f47e4bd8a72fecf365a6e06771effb1f8e055a5
2017-08-01 18:21:59 +01:00
Andreas Tolfsen e6fdbe4caf Bug 1381876 - Compare window rect, not window size. r=automatedtester
The dictionary from Marionette#window_size is a subset of what is returned
from Marionette#window_rect, causing the self.assertEqual to complain
that they are not equal.  We want to compare the same types.

MozReview-Commit-ID: L4XTlgtUYKW

--HG--
extra : rebase_source : c3adf89777ac589cab2fb84fe3e543f22d9895fc
2017-08-01 18:21:04 +01:00
Andreas Tolfsen 107a4758fb Bug 1381876 - Remove unused import from test_window_maximize.py. r=automatedtester
MozReview-Commit-ID: 5C7ewMqY1iY

--HG--
extra : rebase_source : e545b6c24bd246e4d9554f35ede9ae7489cf6215
2017-08-01 18:19:58 +01:00
Andreas Tolfsen acef2ddd2d Bug 1381876 - Fix window maximised assertions. r=automatedtester
The "delta" in the second assertion was not deducted from the height.
The patch also improves the error message.

MozReview-Commit-ID: 8u8UhKg3Q62

--HG--
extra : rebase_source : a3771620fc15225ac6932c718515b8dfcf2fdab0
2017-08-01 18:19:34 +01:00
Andreas Tolfsen 6e4c649956 Bug 1381876 - Include window state in window rect. r=automatedtester
The window state was included for only some of the commands' responses
earlier.

MozReview-Commit-ID: DdNyR7vdgtY

--HG--
extra : rebase_source : b7c3c7376f8affff673c903ba2c90e2cee93878a
2017-08-01 18:18:12 +01:00
Andreas Tolfsen adf6b1ae3e Bug 1381876 - Return window rect from Context#rect consistently. r=automatedtester
MozReview-Commit-ID: D5pCPK2PEr3

--HG--
extra : rebase_source : a9e6c80314084a6b9fe3b4313d1599911528297b
2017-08-01 18:17:29 +01:00
Sebastian Hengst 765cc1b925 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JhesEg4Bxjy
2017-08-04 19:28:27 +02:00
Yoshi Huang c39a8b9f4f Bug 1340974 - To make data-url.html pass. r=smaug
The original test in [1] will throw Syntax error, due to we strip whitespace in
[2]. The test 'else postMessage(..)' will become 'elsepostMessage(...)'
and cause ReferenceError: elsepostMessage is not defined. So I added {}
to fix the error.

Also in the last test [3], it will trigger error handler in the testing
framework, and the TestHarness will fail if there's an error thrown. So I
added 'setup({allow_uncaught_exception:true});' to fix this.

[1]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/testing/web-platform/tests/workers/data-url.html#53
[2]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/netwerk/protocol/data/nsDataHandler.cpp#92
[3]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/testing/web-platform/tests/workers/data-url.html#56
2017-08-04 10:58:01 +08:00
Wes Kocher 2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Wes Kocher 2ac35c1849 Merge autoland to central, a=merge
MozReview-Commit-ID: 3z14qa3d9bt
2017-08-03 17:01:15 -07:00
Mike Hommey 0dd063a9dd Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Axel Hecht 30a47c4339 bug 1370506: fix remaining mozharness configs MOZ_OBJDIR, r=Callek, a=bustage
MozReview-Commit-ID: KwAjWvJ55Xr
2017-08-03 15:20:48 +02:00
Sebastian Hengst 50d2d60772 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5MywkQxECqB
2017-08-03 11:46:00 +02:00
Joel Maher 049c320cd7 Bug 1383737 - Change talos quantum pageloader test names and job symbols. r=ahal
MozReview-Commit-ID: 9t3cnfdDQFD
2017-08-03 14:47:28 -04:00
Masatoshi Kimura 6af79fe56a Bug 1387017 - Update talos addons to deal with post-57-api-changes. r=jmaher
MozReview-Commit-ID: LRbY1dyacvN
2017-08-03 20:45:02 +09:00
James Graham a875ad85b9 Bug 1386604 - Extra metadata fixups for OSX, a=testonly
MozReview-Commit-ID: 1JwSmEGcYuB
2017-08-03 15:06:32 +01:00
James Graham de267ecbbf Bug 1387007 - Disable site data clearing test that causes subsequent tests to fail, a=testonly
MozReview-Commit-ID: 77OeStIjLNm
2017-08-03 11:31:55 +01:00
James Graham 6268e0edce Bug 1386604 - Update wpt metadata, a=testonly
MozReview-Commit-ID: 7Tm0NrmzbnZ


--HG--
rename : testing/web-platform/meta/fonts/matching/fixed-stretch-style-over-weight.html.ini => testing/web-platform/meta/css-fonts/matching/fixed-stretch-style-over-weight.html.ini
rename : testing/web-platform/meta/fonts/matching/stretch-distance-over-weight-distance.html.ini => testing/web-platform/meta/css-fonts/matching/stretch-distance-over-weight-distance.html.ini
rename : testing/web-platform/meta/fonts/matching/style-ranges-over-weight-direction.html.ini => testing/web-platform/meta/css-fonts/matching/style-ranges-over-weight-direction.html.ini
2017-08-03 11:31:55 +01:00
James Graham 19737f4d11 Bug 1384063 - Improve crash detection in wpt with e10s enabled, r=ted
Set MOZ_CRASHREPORTER_SHUTDOWN so that the browser terminates
immediately in the case of a content crash. This causes an early
return from executeAsyncScript, which also happens in cases with an
unhandled alert dialog, so check  if the connection is still alive to
distinguish between a crash and an error.

MozReview-Commit-ID: 6FYDwt15tI4
2017-08-03 11:31:55 +01:00
James Graham 2dc7a68af1 Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly
MozReview-Commit-ID: 3HXcvTYpAkA


--HG--
rename : testing/web-platform/tests/fonts/matching/README.md => testing/web-platform/tests/css-fonts/matching/README.md
rename : testing/web-platform/tests/fonts/matching/fixed-stretch-style-over-weight-ref.html => testing/web-platform/tests/css-fonts/matching/fixed-stretch-style-over-weight-ref.html
rename : testing/web-platform/tests/fonts/matching/fixed-stretch-style-over-weight.html => testing/web-platform/tests/css-fonts/matching/fixed-stretch-style-over-weight.html
rename : testing/web-platform/tests/fonts/matching/font-matching.css => testing/web-platform/tests/css-fonts/matching/font-matching.css
rename : testing/web-platform/tests/fonts/matching/resources/variabletest_matching.ttf => testing/web-platform/tests/css-fonts/matching/resources/variabletest_matching.ttf
rename : testing/web-platform/tests/fonts/matching/stretch-distance-over-weight-distance-ref.html => testing/web-platform/tests/css-fonts/matching/stretch-distance-over-weight-distance-ref.html
rename : testing/web-platform/tests/fonts/matching/stretch-distance-over-weight-distance.html => testing/web-platform/tests/css-fonts/matching/stretch-distance-over-weight-distance.html
rename : testing/web-platform/tests/fonts/matching/style-ranges-over-weight-direction-ref.html => testing/web-platform/tests/css-fonts/matching/style-ranges-over-weight-direction-ref.html
rename : testing/web-platform/tests/fonts/matching/style-ranges-over-weight-direction.html => testing/web-platform/tests/css-fonts/matching/style-ranges-over-weight-direction.html
rename : testing/web-platform/tests/payment-request/OWNERS => testing/web-platform/tests/payment-method-id/OWNERS
rename : testing/web-platform/tests/storage/interfaces.worker.js => testing/web-platform/tests/storage/interfaces.https.worker.js
rename : testing/web-platform/tests/tools/browserutils/requirements.txt => testing/web-platform/tests/tools/wpt/requirements.txt
rename : testing/web-platform/tests/tools/browserutils/utils.py => testing/web-platform/tests/tools/wpt/utils.py
rename : testing/web-platform/tests/tools/wptrunner/wptrunner/executors/reftest-wait.js => testing/web-platform/tests/tools/wptrunner/wptrunner/executors/reftest-wait_marionette.js
rename : testing/web-platform/tests/uievents/keyboard/key-manual.css => testing/web-platform/tests/uievents/keyboard/key.css
rename : testing/web-platform/tests/uievents/keyboard/key-manual.js => testing/web-platform/tests/uievents/keyboard/key.js
2017-08-03 11:31:54 +01:00
Sebastian Hengst 0f8750c99a Bug 1385598 - Rename suggested component 'Core :: DOM: Web Audio' to 'Core :: Web Audio' to reflect change in Bugzilla. r=jmaher
MozReview-Commit-ID: LjJXwutMJq6

--HG--
extra : rebase_source : 40a7c27368d9ebfa4928e1be2b0c9af8793236c1
2017-08-04 14:52:59 +02:00
Ionut Goldan d526d5234e Bug 1387255 - remove CART performance test r=jmaher
MozReview-Commit-ID: AFQCEwC4XIo

--HG--
extra : rebase_source : f28d6d20d6ef2431e8f9a1588de85613419e0b61
2017-08-04 15:20:03 +03:00
Andreas Tolfsen dc3d5d774e Bug 1381876 - Rename Maximize Window test to match command name. r=automatedtester
MozReview-Commit-ID: 6g2GgZW846h

--HG--
rename : testing/web-platform/tests/webdriver/tests/window_maximizing.py => testing/web-platform/tests/webdriver/tests/maximize_window.py
extra : rebase_source : 22f12bffa8ee98e63d5ab815f006253b71492849
2017-07-26 17:34:59 +01:00
Yoshi Huang c0891be4ca Bug 1381728 - Part 2: remove legacy web platform test for <object>. r=anne 2017-08-03 09:38:48 +08:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Geoff Brown 6f5c694369 Bug 1357520 - Minor changes for mochitest verifications; r=jmaher
Two small changes: 1. Test verification uses a copy of the runtests.py
options, so that any changes made to the options object in one step do
not affect the next step. 2. Use mochitest url format
.../tests?testname=xxx instead of .../xxx?... when a single test is
being run, regardless of --repeat; this is required so that other
options, notably --keep-open, are respected.
2017-08-02 11:08:34 -06:00
Geoff Brown 3a54608bbd Bug 1357520 - Support --verify option in mochitest harness; r=jmaher
--verify runs tests many times, in various configurations, in hopes of
finding intermittent failures. This option is added mostly for the -
coming soon! - test-verify task in automation, but can be used from
mach too, as a convenient way to stress tests of interest.
2017-08-02 11:08:31 -06:00
Geoff Brown 7563788551 Bug 1380126 - Add a copy of mozbase' manifestparser to mozharness; r=Callek
--HG--
rename : testing/mozbase/manifestparser/manifestparser/__init__.py => testing/mozharness/manifestparser/__init__.py
rename : testing/mozbase/manifestparser/manifestparser/cli.py => testing/mozharness/manifestparser/cli.py
rename : testing/mozbase/manifestparser/manifestparser/expression.py => testing/mozharness/manifestparser/expression.py
rename : testing/mozbase/manifestparser/manifestparser/filters.py => testing/mozharness/manifestparser/filters.py
rename : testing/mozbase/manifestparser/manifestparser/ini.py => testing/mozharness/manifestparser/ini.py
rename : testing/mozbase/manifestparser/manifestparser/manifestparser.py => testing/mozharness/manifestparser/manifestparser.py
2017-08-02 11:08:29 -06:00
Jonathan Watt 1bd746577e Bug 1377188, part 3 - Mark WPT's the-hr-element-0/width.html test as passing on Mac. r=orange CLOSEDTREE
MozReview-Commit-ID: FrCoUEt7J0N
2017-07-27 10:25:58 +01:00
Valentin Gosu 195f9f0987 Bug 1383831 - Upgrade rust-url to version 1.5.1 r=froydnj
MozReview-Commit-ID: L3j6K5dDWHi

--HG--
extra : rebase_source : 65b34e84139927f1c28dc38cf2a00a0c2902b975
2017-08-02 13:44:48 +03:00
Jonathan Watt 720999f3d7 Bug 1377188, part 1 - Change the UA 'box-sizing' style to 'content-box' for <hr>. r=dholbert
MozReview-Commit-ID: 4s5Cj5FhkDe
2017-07-26 11:44:16 +01:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Bob Clary 8d2f89877e Bug 1378526 - Measure Stylo memory usage using AWSY tests, r=erahm, kmoir. 2017-08-01 15:59:22 -07:00
Eric Rahm 9ccb00f361 Bug 1386407 - Part 2: Use prefs.json when testing locally. r=bc
We specify '--preferences' in `awsy_script.py`, but weren't doing so for
local testing. This uses 'conf/prefs.json' by default, but lets the user
override that by specifying '--preferences'.

MozReview-Commit-ID: 5j7a1LA4e8a
2017-08-01 15:55:45 -07:00
Eric Rahm d38798a2a9 Bug 1386407 - Part 1: Disable javascript.options.asyncstack during AWSY testing. r=bc
This avoids the extra memory overhead from providing debug information for
promises. The `javascript.options.asyncstack` pref is disabled by default in
release and beta so this better mirrors what users will see.

MozReview-Commit-ID: 5H8Kc08hjq9
2017-08-01 15:55:44 -07:00
Andrew Halberstadt 126cf32e82 Bug 1385311 - Make sure AddressSanitizer errors turn the task orange, r=jmaher
MozReview-Commit-ID: EvLGeaLVotV

--HG--
extra : rebase_source : 5a1b9b70f0832507f54ff601b16a8e654084c10d
2017-07-28 09:35:17 -04:00
Sebastian Hengst b2ec2e0aca Bug 1386120 - Update wpt expectations for autofill. r=wpt-pass 2017-08-03 17:44:14 +02:00
Sebastian Hengst 75f2f4a109 Bug 1386120 - Update wpt expectations for autofill on select element. r=wpt-pass 2017-08-03 16:42:23 +02:00
Tobias Schneider 82748fd0a4 Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Log time values. m=me,test-only 2017-08-04 12:58:34 -07:00
Yangyi Peng f2b8c04562 Bug 1380936 - Add Minimize Window command to geckodriver; r=ato
MozReview-Commit-ID: Le6rAUMDjwe

--HG--
extra : rebase_source : 2120abbe4a4c57be3d669f02e29dc2ac03b1a90f
2017-08-01 11:42:58 +08:00
Wes Kocher 6996218c86 Merge m-c to autoland, a=merge
MozReview-Commit-ID: LFuPHJf6OyA
2017-08-01 18:09:08 -07:00
Tobias Schneider a8ffdacf3c Bug 1369360 - (Intermittent intersection-observer/timestamp.html) Calculate timeSkew more reliable for low frame rates. r=jgraham
--HG--
extra : rebase_source : e92e6c0c8b299a3f54200cde929fb1a4978ed868
2017-08-01 13:21:42 -07:00
David Burns 41c3003cf6 Bug 1364389 - Remove superfluous test r=ato
This is tested more extensively with the new * window rect tests.

MozReview-Commit-ID: 3Ks3lq5oX8m

--HG--
extra : rebase_source : f4040c0fae3964358290d51282d479ec5d72830d
2017-08-01 06:20:27 +01:00
Wes Kocher 0688b1b95d Merge inbound to central, a=merge
MozReview-Commit-ID: 6SriUFkS6u7
2017-08-01 13:17:21 -07:00
David Burns 9bae52f97a Bug 1364389 - Update capabilities with value returned from the remote end r=ato
When a new session is created the server returns a few details of the
remote end. It replaces the contents of the capabilities variable with
what is returned so that it can be used when accessing it from the
session object.

MozReview-Commit-ID: DB4iMpYMKXU

--HG--
extra : rebase_source : e38ab907fa9aa410888ae2b251d15a542541cf95
2017-07-27 21:45:59 +01:00
Gian-Carlo Pascutto c2aae39fd6 Bug 1370753 - Add Google API key to Android builds. r=glandium
MozReview-Commit-ID: KDgbZr7ygpk

--HG--
extra : rebase_source : e7d36890caaf843746b7ec78a8daf697221e7c53
extra : histedit_source : 4a48d1ad38cfd99797524a2cad09cc7acdba102f
2017-07-26 12:46:02 +02:00
Sebastian Hengst ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Ehsan Akhgari 8a7e6af123 Bug 1385926 - Add a test to ensure that the selection is always collapsed to the end after setting the value of input and textarea elements using the DOM API; r=masayuki 2017-08-01 01:39:31 -04:00
Wes Kocher 179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Andreas Tolfsen d29f92675d Bug 1385547 - Lint testing/marionette. r=automatedtester
Automatic fixes from './mach lint --fix testing/marionette'.

MozReview-Commit-ID: 4UOLrLLxMbH
2017-07-31 16:01:12 +01:00
Andreas Tolfsen cf3f40c311 Bug 1385547 - Tighten eslint rules on semicolons and init to undefined. r=automatedtester
Under testing/marionette, we always use semicolons for consistency and we
never initialise scoped variables to undefined becuase it is the default
value.  We also indent continued call expressions by four characters.

Disallowed:

	let foo = undefined;
	return foo

Allowed:

	const foo = undefined;
	let bar;
	return bar;

MozReview-Commit-ID: LgVPMqnFqNk
2017-07-31 16:01:12 +01:00
Dave Hunt 2eedc3c26e Bug 1349516 - Add support to pytest-mozlog for tests rerun using pytest-rerunfailures; r=ahal
MozReview-Commit-ID: GrFaW74EwXC

--HG--
extra : rebase_source : db4de3ddc815e3bd1802e0f7cbe4fe07255a54ca
2017-07-20 18:03:11 +01:00
Wes Kocher b11975d1ad Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Andreas Tolfsen d85c53a9ad Bug 1385873 - Port Marionette <option> click tests to WPT. r=automatedtester
This is a liberal port of the Marionette tests for Element Click on
<option> to WPT.

MozReview-Commit-ID: 1gPHjVJo9Wz

--HG--
extra : rebase_source : c8df2a9b7b9938433386c9873a1073f8a3d359e1
2017-07-31 15:51:31 +01:00
Andreas Tolfsen 921b854d67 Bug 1385873 - Add client.Element#selected to WebDriver client. r=automatedtester
MozReview-Commit-ID: 7UhRpsE07b1

--HG--
extra : rebase_source : 6d2adbb45a8dc18dd00e816a952c6478d38044de
2017-07-31 15:43:00 +01:00
Andreas Tolfsen 38118e543e Bug 1385873 - <option> should not be deselected in dropdown. r=automatedtester
Marionette deselects <option>s if they are already selected in <select
multiple>, but it should not deselect them if they are in a dropdown
<select>.

MozReview-Commit-ID: 9CHfYrGn7xR

--HG--
extra : rebase_source : f2357c8b111a0296844b8eb594cfb13e8799c3a0
2017-07-31 14:08:41 +01:00
Andreas Tolfsen 30162bd0ea Bug 1385873 - Throw TypeError when passing XUL element to interaction.selectOption. r=automatedtester
Marionette throws a TypeError when the element is not an <option>,
and we should use the same error type when a XUL element is passed.

MozReview-Commit-ID: 3p3wPcW621f

--HG--
extra : rebase_source : dd5147d98ce68e664d0782949a760f499f3fe24a
2017-07-31 14:06:07 +01:00
Andreas Tolfsen ec081889ac Bug 1385873 - Better error on wrong element to interaction.selectOption. r=automatedtester
Throw a better error message when the wrong element type is passed to
interaction.selectOption.

MozReview-Commit-ID: G1NIZ25umm2

--HG--
extra : rebase_source : 55389d965c253dc3f1718e627f5c3a0c4f16fb84
2017-07-31 14:04:50 +01:00
Xidorn Quan d2d67f1449 Bug 1383075 part 1 - Handle URL token in a closer way to the spec. r=dbaron
MozReview-Commit-ID: B31txMs8fVw

--HG--
extra : rebase_source : 771228551feba014da47fa576685864be94cb856
2017-07-28 13:20:37 +10:00
William Lachance 6cae76fb2a Bug 1384245 - Run gtest benchmarks multiple times and take median r=milan
MozReview-Commit-ID: 3g3RB36Brpw

--HG--
extra : rebase_source : 919fbff80f65122c690e119e989f7f7aa9c8b89d
2017-07-31 12:47:32 -04:00
Sebastian Hengst 7dd2654666 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2ICgX7IDEYO
2017-07-31 11:11:05 +02:00
Marco Castelluccio ad13ad3d56 Bug 1357517 - Fix max-len eslint rule breakage in marionette.js. r=me 2017-07-30 21:12:36 +02:00
Marco Castelluccio 538f029e0c Bug 1357517 - Remove or delay Preferences.jsm usage from Marionette. r=ato
--HG--
extra : rebase_source : 483c64a39129b85c2533c45a8fefd5d54238773c
2017-07-30 20:05:22 +02:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Till Schneidereit 847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Kyle Machulis ffa9be1bed Bug 1279218 - Remove Applet tag; r=bz
Removes applet tag interfaces, and changes HTML5 parser to output
HTMLUnknownElement when tag is found. Removes tag process from various
places in the browser.

MozReview-Commit-ID: 2zHhK2U2esX

--HG--
extra : rebase_source : d06ecaffd1cb656301e29b900bafde4c68a4606e
2017-07-10 16:00:30 -07:00
Robert Helmer 763890559c Bug 1385177 - Remove check for built-in self-support from shield recipe client r=mythmon
MozReview-Commit-ID: 52e6FrUdJF4

--HG--
extra : rebase_source : 33c733b10b4bbeb7f595881d009d9752ae992af8
2017-07-28 13:58:35 -07:00
Sebastian Hengst e69b5c12ac Backed out changeset 0aaf1e3ab6ea (bug 1385177) for failing browser-chrome's browser_sanitizeDialog.js and browser_clientAuth_connection.js. r=backout 2017-07-29 10:12:58 +02:00
Hiroyuki Ikezoe 904b99bac2 Bug 1384410 - Fix rotate_to_matrix. r=canaltinova
We used transposed matrices for rotate before this fix.

https://www.w3.org/TR/css-transforms-1/#Rotate3dDefined

MozReview-Commit-ID: 7LYi74vvIBo

--HG--
extra : rebase_source : 8a71564f14814989c23ab6d41f5e3ec50004c1af
2017-07-29 11:05:32 +09:00
Boris Zbarsky 4bac5a04f9 Bug 1324619 part 4. Add a Servo API for reparenting a given style. r=emilio
MozReview-Commit-ID: 2rqnMjMQKlJ

--HG--
extra : rebase_source : 4e146f8aa6a04d7193c8f54ea7acd42ce0e852b6
2017-07-28 21:20:41 -04:00