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
Wes Kocher
19d135c982
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 4R4GFHPiij
2017-07-06 16:19:38 -07:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Andrew Halberstadt
f85d81d30e
Bug 1372263 - Add additional mochitest selftests for crashes, assertions and leaks, r=jmaher
...
This also starts running the selftests on linux debug builds, since that's the only place that we
can test assertions and leaks.
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 340aca0c4e5f9697b1d652fd192332e47a1acab9
extra : histedit_source : 2d4b542d2122b4c6d2d48fc9c49848d5453e4533
2017-06-22 16:37:11 -04:00
Andrew Halberstadt
02ba790378
Bug 1372263 - Add ability to skip mochitest selftests based on mozinfo properties, r=jmaher
...
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 4b709c731f43e00dbc0e6596287811b739a3556c
extra : histedit_source : 71938673eecdb975e930d3b305433b3528acf7c7
2017-06-22 16:36:15 -04:00
Greg Mierzwinski
1a2d6fd412
Bug 1378239
- Change mozinfo 'coverage' flag to 'ccov' to avoid ambiguity. r=ahal
...
This patch renames the mozinfo flag 'coverage' to 'ccov' to avoid ambiguity in whether a test is being skipped for linux64-ccov or for linux64-jsdcov. It also removes the 'runtests.py' mozinfo hack and renames all occurrences of 'coverage' that are used for skipping tests in linux64-ccov.
MozReview-Commit-ID: IF2640bDQP7
--HG--
extra : rebase_source : 614020325e30d1ca9e01aaf08479b8a4ffaec888
2017-07-04 21:18:19 -04:00
Florian Quèze
afec05d535
Bug 1378171 - add a test preventing us from loading scripts unintentionally during content process startup, r=mconley.
2017-07-04 22:48:15 +02:00
Alex Gaynor
b08206238c
Bug 1374557
- Part 2 - Use the new preference to whitelist paths for reading that are needed by tests; r=gcp,haik,jmaher
...
MozReview-Commit-ID: 4IaTrHPHZaC
--HG--
extra : rebase_source : 28824735f74b369d5755b3bced0f61d22c7c8845
2017-06-21 10:24:16 -04:00
Sebastian Hengst
c709e5f990
Backed out changeset 6b8840096867 (bug 1372263)
2017-07-01 00:33:10 +02:00
Sebastian Hengst
b0f5713347
Backed out changeset 7dcc7dac37d1 (bug 1372263)
2017-07-01 00:33:05 +02:00
Andrew Halberstadt
e31175ba5d
Bug 1372263 - Add additional mochitest selftests for crashes, assertions and leaks, r=jmaher
...
This also starts running the selftests on linux debug builds, since that's the only place that we
can test assertions and leaks.
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 643f8d15a550fa39f4d3daba75c60560deefc96e
2017-06-22 16:37:11 -04:00
Andrew Halberstadt
51f70044ef
Bug 1372263 - Add ability to skip mochitest selftests based on mozinfo properties, r=jmaher
...
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 88da98f77a04891a470d831e837bbeb8a8262a32
2017-06-22 16:36:15 -04:00