Commit Graph

17828 Commits

Author SHA1 Message Date
David Burns
233ab7fd5b Bug 1376625 - Add Get Element Rect wdspec tests r=ato
MozReview-Commit-ID: AGSaUzetbRR

--HG--
extra : rebase_source : 6d2b677bab8c7d24f9b4374cd12291a8d0d6d421
2017-08-01 07:00:51 +01:00
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
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
Phil Ringnalda
9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Yangyi Peng
f35129b70f Bug 1391661 - Add Minimize Window tests to wdspec; r=ato
MozReview-Commit-ID: LLJ6EXd2aKR
2017-08-19 13:59:56 +01:00
Wes Kocher
b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm
0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Wes Kocher
c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Wes Kocher
594f235396 Backed out changeset 1a885b6252b3 (bug 1391661) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 7I5GCoEvuAL

--HG--
extra : source : c91df00334016869af5f7ece0e8eef988022bc63
2017-08-18 17:14:10 -07:00
Wes Kocher
ccaaa705de Backed out 6 changesets (bug 1376625) for conflicting with the incoming m-c merge a=backout
Backed out changeset 8498aa3df735 (bug 1376625)
Backed out changeset 1805706e3d0d (bug 1376625)
Backed out changeset 0842eac97833 (bug 1376625)
Backed out changeset 4af85178dea9 (bug 1376625)
Backed out changeset e2ae50805200 (bug 1376625)
Backed out changeset 29175c7e6faa (bug 1376625)

MozReview-Commit-ID: GKUCcsZ0Lxn
2017-08-18 17:12:20 -07:00
David Burns
3919d56fa4 Bug 1376625 - Add Is Element Selected wdspec tests r=ato
This adds tests for the Is Element Selected section as documented in
https://w3c.github.io/webdriver/webdriver-spec.html#is-element-selected

MozReview-Commit-ID: HmwOtYlIZLQ

--HG--
extra : rebase_source : bba5c753495551e75eb78717d43ce7ceaaabd237
2017-08-04 20:25:18 +01:00
David Burns
cd9e986d97 Bug 1376625 - Updating meta data for newly added tests r=ato
Most of the failures are due to
https://bugzilla.mozilla.org/show_bug.cgi?id=1264259 which creates
a cascade failure unfortunately.

MozReview-Commit-ID: 4wLh7WcacGu

--HG--
extra : rebase_source : 50d8fa3ba28562094dea2d849a10e2bee57ff776
2017-08-02 23:55:47 +01:00
David Burns
216c0d2253 Bug 1376625 - Add Get Element Tag Name wdspec tests r=ato
MozReview-Commit-ID: 5ictmTtj5zX

--HG--
extra : rebase_source : bf3f9e0126d9924436c850963aa9d0907a27df0b
2017-08-01 08:43:09 +01:00
David Burns
695c904534 Bug 1376625 - Add Get Element Rect wdspec tests r=ato
MozReview-Commit-ID: AGSaUzetbRR

--HG--
extra : rebase_source : 3b6b763b4a6cf2d62e125e5909f59e5cc9cc8d52
2017-08-01 07:00:51 +01:00
David Burns
6da0e35611 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 : 0a0c96b0c993bcbf4b3345060b8ab50204744e39
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
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