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

3177 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher a8e6d0bd2c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7XpmaFg1k8N
2017-08-29 16:17:13 -07:00
Geoff Brown 0c1b12715e Bug 1386816 - Kill any xpcshell or ssltunnel already running at start of tests; r=jmaher
This renames killNamedOrphans to killNamedProc and removes the check for
parent proc id, so that any xpcshell or ssltunnel process is killed before
starting a mochitest or reftest run. For reftests, this is moved out of
the desktop harness and into the remote/android harness, since desktop
reftests do not use xpcshell or ssltunnel.
2017-08-29 15:44:18 -06:00
Sebastian Hengst ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Sebastian Hengst 2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Kris Maglione 83ac7dd4fb Bug 1394479: Only override Services.scriptloader for XPCOMUtils. r=florian
Overriding Services.scriptloader has a lot of consequences in terms of path
name magling and choice of target global when no target object is passed.
Since this test code doesn't care about callers outside of XPCOMUtils, it
should only override the instance used by XPCOMUtils, and not the instance
used by other callers.

MozReview-Commit-ID: 2LEchjzn0U5

--HG--
extra : rebase_source : 739fe2b03adb0b4637056b25d6b747a4e1f5a4a9
2017-08-28 09:51:08 -07:00
Kris Maglione c5a2868365 Bug 1394467: Remove unused procompileScript method. r=mccr8
MozReview-Commit-ID: 6s2Nqtcd9uS

--HG--
extra : rebase_source : ec4f96e7281e3f72be01aeb8faa1c9b34a61f534
2017-08-28 09:21:46 -07:00
Botond Ballo dc075dbdbc Bug 1390964 - Do not clobber an existing LD_LIBRARY_PATH in the mochitest harness. r=ted
MozReview-Commit-ID: 7uQ71Jpq1lM

--HG--
extra : rebase_source : 2383db7abceea790dbb837ddfa501626492159b4
2017-08-16 13:25:01 -04:00
J. Ryan Stinnett a3ff9bdc0e Bug 1393234 - Add --disable-stylo for desktop tests. r=jmaher
MozReview-Commit-ID: 3wBxpOjYqC1

--HG--
extra : rebase_source : 3fb96b85e743d74d22dd0c74473a66b7ef640809
2017-08-24 16:16:40 -05:00
Sebastian Hengst 85113c4391 Backed out changeset fa04de352d99 (bug 1390964) for linting failure at gecko/testing/mochitest/runtests.py:420: test for membership should be 'not in'. r=backout 2017-08-28 20:42:37 +02:00
Botond Ballo 0427d1e846 Bug 1390964 - Do not clobber an existing LD_LIBRARY_PATH in the mochitest harness. r=ted
MozReview-Commit-ID: 7uQ71Jpq1lM

--HG--
extra : rebase_source : 451b8117427609f9528ed6549937d5be817e6e53
2017-08-16 13:25:01 -04:00
Tooru Fujisawa edfe01e5ed Bug 1393160 - Detect visibility of the drag event target and fail if hidden. r=smaug 2017-08-27 21:03:31 +09: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 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
Wes Kocher 9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07: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
Wes Kocher cb3e58d017 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ENNd2QVktmQ
2017-08-16 17:07:52 -07: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
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
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
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 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
Stone Shih 665fb7cd54 Backed out changeset de4929e39b7e (bug 1351148) 2017-08-11 15:19:30 +08: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
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
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
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
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
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
Bob Owen 00eaf28579 Bug 1386502 - Whitelist paths added via pref for files opened in the content process during some tests. r=jimm
--HG--
extra : rebase_source : a34c7e1d445154843e8efd0146824dff0bdfda9b
2017-08-07 17:42:00 +01:00
Shane Caraveo 1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Gijs Kruitbosch 6b70b349d9 Bug 1379447 - fix intermittent failure in browser_alltabslistener caused by tab hitting about:blank when waiting for page stops, r=dao
MozReview-Commit-ID: Sn4uj4jMDc

--HG--
extra : rebase_source : c2ef1651e84ba54ca1e7584ed0dc533c2cbe1cbd
2017-07-19 23:17:01 +01:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Xidorn Quan c4c6fbf75a Bug 1383980 - Enable animation mochitests in mochitest-style task. r=birtles
MozReview-Commit-ID: 38Ir2MG7IMO

--HG--
extra : rebase_source : 0997b7026a24cc271ad977db5ce233c393554dfa
2017-07-25 14:17:04 +10:00
Gian-Carlo Pascutto b4e7052362 Bug 1308400 - Whitelist paths with test files during testing. r=Alex_Gaynor
MozReview-Commit-ID: LMWAv3GP5c4

--HG--
extra : rebase_source : 80ae220e415510bb21c7f184eaaeb02ac27b91d0
2017-07-10 20:29:09 +02:00
Florian Quèze dd190f9360 Bug 1381853 - Make browser mochitests ignore global properties added by XPCOMUtils.defineLazyScriptGetter, r=Mossop. 2017-07-23 00:18:00 +02:00
Stone Shih a5bccae405 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
Mike de Boer e94bfa4ddf Bug 1380470 - Part 2 - Add add_task().skip() and add_task().only() for mochitest-chrome unit tests. r=ahal
Changes were made to the SpawnTask.js file, which is where the add_task
implementation lives for this API.

MozReview-Commit-ID: 7bPlcrrJkCi

--HG--
extra : rebase_source : ce14fda2e71508d3e9dea39ad62e65a57b432779
2017-07-18 14:42:19 +02:00
Mike de Boer 10092f64d7 Bug 1380470 - Part 1 - Add add_task().skip() and add_task().only() for mochitest-browser unit tests. r=ahal
.skip() allows you to skip a specific task from running and .only() allows you
to focus on only one specific task.

MozReview-Commit-ID: 36qQOhICN7s

--HG--
extra : rebase_source : 4b8e15a65dd9370b87dfdba8c85c64aae76dd4a0
2017-07-18 14:42:16 +02:00
Haik Aftandilian ce8f59e85d Bug 1380132 - Part 2 - Set MOZ_DEVELOPER_OBJ_DIR before launching Firefox. r=gps
MozReview-Commit-ID: CvSUt2KueHr

--HG--
extra : rebase_source : 7d621a1dc7ced33a2c00e906970401e152a70189
2017-07-12 17:01:56 -07:00
J. Ryan Stinnett 41bb39719f Bug 1380082 - Check Stylo env var for mochitest processing. r=ahal
Test harnesses may use STYLO_FORCE_ENABLED, so we need to fold this into mozinfo
for mochitest annotations.

MozReview-Commit-ID: JyadTE7apX6

--HG--
extra : rebase_source : 4eda1f150c012a8f5c0a58fdc921d8a6e03c4e68
2017-07-11 13:53:20 -05:00
Carsten "Tomcat" Book 45bb84b0da Backed out changeset 37f7f74bee08 (bug 1366694) 2017-07-11 13:14:36 +02:00
Bob Owen 3b23c3d8de Bug 1366694 Part 3: Allow mochtest-a11y test to leak 248 bytes on Windows. r=mccr8 2017-07-11 09:44:20 +01:00