Commit Graph

17926 Commits

Author SHA1 Message Date
David Burns
03b12a5c81 Bug 1376625 - Add Get Element Property wdspec tests r=ato
This adds tests for Get Element Property WebDriver tests as documented
in https://w3c.github.io/webdriver/webdriver-spec.html#get-element-property

MozReview-Commit-ID: 62pCbYH0iwv

--HG--
extra : rebase_source : 230393d99a82bcf94d09d7e25d8226d534af9731
2017-06-30 19:29:18 +01:00
David Burns
8ae975b475 Bug 1376625 - Add Get Element Attribute wdspec tests r=ato
This adds wdspec tests for the Get Element Attribute section as
documented in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-attribute

MozReview-Commit-ID: 9hHPr6Hb1l1

--HG--
extra : rebase_source : ff5cd0fc14e37c86c84f6ead7474317042e8c216
2017-06-28 19:53:05 +01:00
David Burns
0b7ed87b41 Bug 1376625 - Add Get Element Attribute wdspec tests r=ato
This adds wdspec tests for the Get Element Attribute section as
documented in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-attribute

MozReview-Commit-ID: 9hHPr6Hb1l1

--HG--
extra : rebase_source : 307db76710d0568e8b4a94c825ab849d5679483b
2017-06-28 19:53:05 +01:00
Mike Hommey
2874ecd82e Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : ac72dd5b2602cf3ffddfb429f95e02380f939893
2017-08-16 13:16:16 +09:00
Phil Ringnalda
cbc5805a36 Backed out changeset 4e9cd1d537cc (bug 1384062) for flake8 failures
MozReview-Commit-ID: C2AVg8g3xpV
2017-08-17 20:39:43 -07:00
Mike Hommey
452fa31f52 Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : fededf989fe9021654b67d5a070f7e49aa717f3c
2017-08-16 13:16:16 +09:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Gian-Carlo Pascutto
f4a0bc4497 Bug 1386826 - Whitelist the objdir, so _tests gets covered. r=jmaher
MozReview-Commit-ID: 8SHk1Pfy37I

--HG--
extra : rebase_source : 3944e20e310dda395e67ba9b1e33747413dea84e
2017-08-16 19:03:09 +02:00
Henrik Skupin
f7fd4a1cd9 Bug 1387403 - Force quitting the browser if no session can be established. r=jgraham
In case the NewSession command fails due to errors returned
by Marionette, the browser has to be killed. This is necessary
because DeleteSession always requires an existent session, and
would fail in closing the browser. So the process would continue
to be alive.

MozReview-Commit-ID: 1llX4lPNYjN

--HG--
extra : rebase_source : 0da6529e2c09358c83760fc66c997db09665e304
2017-08-17 14:05:11 +02:00
Andreas Tolfsen
59a7d270fb Bug 1390520 - Improve readability of Set Window Rect test. r=automatedtester
In addition to readability improvements, it fixes a few small errors
where the "x" and "y" field are being mixed up.

MozReview-Commit-ID: LP8uAaELadY

--HG--
extra : rebase_source : 855c8a7b84396a57df63e315a78b5f1e389eda16
2017-08-15 16:35:03 +01:00
Andreas Tolfsen
1724ec2c8b Bug 1390520 - Enable Set Window Rect from minimized window state test. r=automatedtester
Now that geckodriver has support for window state in the window rect
object, we can enable the test_set_window_rect_window_minimized test
from testing/web-platform/tests/webdriver/tests/set_window_rect.py.

MozReview-Commit-ID: FY6EZTxMUbE

--HG--
extra : rebase_source : 0614f35e35ef4274e13ccc35d12093e7bdc18afa
2017-08-15 15:57:34 +01:00
Andrew Halberstadt
b949847b39 Bug 1387135 - Add an 'artifact' try_task_config template to schedule artifact builds, r=dustin
This will change all build symbols to 'Ba' and set the USE_ARTIFACTS=1 environment variable.
Mozharness will detect this env to decide whether to perform an artifact build or not.

MozReview-Commit-ID: J8HVZzOt4mX

--HG--
extra : rebase_source : 453028d9be5cb2ad07e9a2a8b769cb6aac9893fe
2017-08-15 11:37:40 -04:00
Rob Wood
1721a468a7 Bug 1387265 - Expand talos tp6 to macosx; r=jmaher
MozReview-Commit-ID: 78LGHEJNGz4

--HG--
extra : rebase_source : ad7189968b15ea7cd830d18a0e7033df65d8489f
2017-08-15 15:30:23 -04:00
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