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

17810 Коммитов

Автор SHA1 Сообщение Дата
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
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