Commit Graph

3261 Commits

Author SHA1 Message Date
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
Christian Holler
b8ee76ebd8 Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj
The -fsanitize=integer analysis from UBSan can be helpful to detect signed and unsigned integer overflows in the codebase. Unfortunately, those occur very frequently, making it impossible to test anything with it without the use of a huge blacklist. This patch includes a blacklist that is broad enough to silence everything that would drain performance too much. But even with this blacklist, neither tests nor fuzzing is "clean". We can however in the future combine this with static analysis to limit ourselves to interesting places to look at, or improve the dynamic analysis to omit typical benign overflows.

It also adds another attribute that can be used on functions. It is not used right now because it was initially easier to add things to the compile-time blacklist to get started.

Finally, it includes a runtime suppression list and patches various parts in the test harnesses to support that. It is currently empty and it should not be used on frequent overflows because it is expensive. However, it has the advantage that it can be used to differentiate between signed and unsigned overflows while the compile-time blacklist cannot do that. So it can be used to e.g. silence unsigned integer overflows on a file or function while still reporting signed issues. We can also use this suppression list for any other UBSan related suppressions, should we ever want to use other features from that sanitizer.

MozReview-Commit-ID: C5ofhfJdpCS

--HG--
extra : rebase_source : 952043a441b41b2f58ec4abc51ac15fa71fc142f
2017-04-09 12:59:26 +02:00
Carsten "Tomcat" Book
5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Paolo Amadini
06de7cf6bf Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-06-29 00:13:06 +01:00
Paolo Amadini
be3f9ed657 Bug 1374241 - Add self-tests for unhandled rejection handling in browser-chrome tests. r=Mossop
MozReview-Commit-ID: 9gloXfhfZ3x

--HG--
rename : testing/mochitest/tests/browser/browser_fail_add_task.js => testing/mochitest/tests/browser/browser_fail_add_task_uncaught_rejection.js
extra : rebase_source : e4ce3389715d144711f23d10e2779ccd7fece134
extra : intermediate-source : 971751d97bb4c13a565f35db82cd411d68fa36e7
extra : source : c9c01c06908add6e1631121bed3d0cfaa8feeefa
2017-06-29 00:12:58 +01:00
Andrew Halberstadt
95c0561603 Bug 1372567 - Fix problems with mochitest structured logging, r=jgraham
The mochitest harness uses testEnd multiple times to log various failures. This can result
in several testEnd messages, which will soon cause mozlog to spit out an error. Instead,
these should be testStatus.

This also starts using mozlog's assertion_count log action to log test assertions (again,
instead of testEnd).

MozReview-Commit-ID: FFsyicSso5Y

--HG--
extra : rebase_source : 5e8d02714fcf24f2b86a9867b0403bbda0d00f91
2017-06-21 08:40:19 -04:00
Geoff Brown
14713f207c Bug 1365636 - Wait for geckoview crash directory to be created; r=jmaher 2017-06-28 16:58:24 -06:00
Geoff Brown
39b260e512 Bug 1365636 - Cause geckoview job to fail when no crash directory found; r=jmaher
"Automation Error" is not sufficient to turn a mozharness job orange.
mochitest-plain failures of this type normally cause job failure by not
printing out the test suite summary. This patch uses the same technique
for geckoview tests: If a crash is detected, do not print a test summary,
so that mozharness will subsequently fail the job.
2017-06-28 16:58:22 -06:00
Carsten "Tomcat" Book
d8e080c10c Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
Christian Holler
9924ab3046 Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj
The -fsanitize=integer analysis from UBSan can be helpful to detect signed and unsigned integer overflows in the codebase. Unfortunately, those occur very frequently, making it impossible to test anything with it without the use of a huge blacklist. This patch includes a blacklist that is broad enough to silence everything that would drain performance too much. But even with this blacklist, neither tests nor fuzzing is "clean". We can however in the future combine this with static analysis to limit ourselves to interesting places to look at, or improve the dynamic analysis to omit typical benign overflows.

It also adds another attribute that can be used on functions. It is not used right now because it was initially easier to add things to the compile-time blacklist to get started.

Finally, it includes a runtime suppression list and patches various parts in the test harnesses to support that. It is currently empty and it should not be used on frequent overflows because it is expensive. However, it has the advantage that it can be used to differentiate between signed and unsigned overflows while the compile-time blacklist cannot do that. So it can be used to e.g. silence unsigned integer overflows on a file or function while still reporting signed issues. We can also use this suppression list for any other UBSan related suppressions, should we ever want to use other features from that sanitizer.

MozReview-Commit-ID: C5ofhfJdpCS

--HG--
extra : rebase_source : 64aa804965d24bb90b103c00c692a2ac6859e408
2017-04-09 12:59:26 +02:00
Johann Hofmann
0c2ea0509c Bug 1364896 - Part 3 - Add a test for contextmenu touchmode. r=dao,jmaher
This also adds a utility function for synthesizing native touch
events to Eventutils.js.

I did not add a test for searchbar because of intermittent issues
with showing the contextmenu (that are not reproducible manually).
I believe this is rather related to searchbar functionality than
my patches.

MozReview-Commit-ID: Dqm92Saosxz

--HG--
extra : rebase_source : e59df4f487f60cea137fbf8aea71a854a5706de9
2017-06-23 11:48:35 +02:00
Ryan VanderMeulen
309d4a291b Backed out 3 changesets (bug 1364896) for causing bug 1376466.
Backed out changeset 5c870a786e94 (bug 1364896)
Backed out changeset 134d9ee1e545 (bug 1364896)
Backed out changeset 8f52f28a9eaa (bug 1364896)
2017-06-27 14:32:07 -04:00
Johann Hofmann
acba8482a8 Bug 1364896 - Part 3 - Add a test for contextmenu touchmode. r=dao,jmaher
This also adds a utility function for synthesizing native touch
events to Eventutils.js.

I did not add a test for searchbar because of intermittent issues
with showing the contextmenu (that are not reproducible manually).
I believe this is rather related to searchbar functionality than
my patches.

MozReview-Commit-ID: Dqm92Saosxz

--HG--
extra : rebase_source : d5c4333609b68773e62447bd3158cadfa89b803b
2017-06-23 11:48:35 +02:00
Tooru Fujisawa
4735d8aaac Bug 1375938 - Fix documentation comment about synthesizeNativeOSXClick. r=smaug DONTBUILD 2017-06-25 23:57:56 +09:00
Marco Bonardo
a60ccaff04 Bug 1263378 - Intermittent leaks from browser_bug461710.js. r=standard8
MozReview-Commit-ID: FQQkGaiE0xZ

--HG--
extra : rebase_source : 5cdb8a0de4cdc5afd923ab596f9c01ebf344bc9f
2017-06-21 13:30:13 +02:00
Andrew McCreight
31e39883db Bug 1375262 - Add the ability to pass sandbox options to SpecialPowers.loadChromeScript(). r=jmaher
SpecialPowers.loadChromeScript() sends a script to the child process,
then creates a sandbox, and runs the script in that sandbox. There are
various sandboxOptions that can be passed when creating a sandbox, and
it would be nice to have that functionality for loadChromeScript.

I just need this for wantGlobalProperties, but I might as well make it
as general as possible. I'm not sure all of the types it can take can
actually be serialized across processes, but I guess that's okay.

MozReview-Commit-ID: GoJjXdjizFk

--HG--
extra : rebase_source : 9c2bc190dbf5a080978953cffd64205e8b816367
2017-06-20 15:50:20 -07:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Edgar Chen
7b429345fd Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Alex Gaynor
6f7e5916ce Bug 1374718 - removed strictContentSandbox mochitest option; r=bobowen
For a while now it has been making the content process sandbox less strict.

MozReview-Commit-ID: Am6fGzViaLk

--HG--
extra : rebase_source : 0bc037f205896c866559a7ab1f7e2c042c3142db
2017-06-20 13:30:45 -04:00
Paolo Amadini
585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Andrew Halberstadt
c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
Mark Banner
3e55f32f5b Bug 1372738 - A test timing out may show false uncaught errors in subsequent tests. r=mossop
MozReview-Commit-ID: 3HMWssBcwqX

--HG--
extra : rebase_source : 2ba5b05e127d495c0d12900c4a12dba75ad32c33
2017-06-13 22:55:44 +01:00
Andrew Halberstadt
8177e735f3 Bug 1048446 - [python-test] Create a mochitest selftest harness, r=jmaher
This will create a mochitest selftest harness based on |mach python-test|. There
is also a basic test that checks whether TEST-PASS and TEST-UNEXPECTED-FAIL work.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : d73b37305590a415e350ee45785a85635e7d4209
2017-05-31 13:52:01 -04:00
Andrew Halberstadt
08935b6d52 Bug 1048446 - [mochitest] Check for a modules dir in the parent directory even if there is a build, r=gbrown
MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : 6fcc43388185d6dcaa313f2da4808521fe998653
2017-05-29 14:29:43 -04:00
Andrew Halberstadt
c7ebd24d8e Bug 1048446 - [mozlog] Don't re-use existing loggers when calling mozlog.commandline.setup_logging a second time, r=jgraham
This is case that got hit with the new mochitest selftest harness. In this scenario, several MochitestDesktop instances
(which call commandline.setup_logging in their constructor) are instantiated in the same interpreter. Because mozlog
implicitly saves the logger state, this meant that setup_logging kept appending duplicate handlers to the existing ones.

I believe that the intent of 'setup_logging' is to get a brand new logger, so it should ensure logger state is reset
on subsequent calls.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : f267489bef99f3ac3d657357002a0001610a038f
2017-05-29 14:23:04 -04:00
Andrew Halberstadt
12cc7edad9 Bug 1370359 - Add ally to list of test path prefixes that mochitest harness normalizes, r=jgraham
MozReview-Commit-ID: UFu9JwHxRj

--HG--
extra : rebase_source : daded2698973aa6a14b8d7ea633345ac067e32be
2017-06-07 14:42:41 -04:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Alex Gaynor
61cc4acf59 Bug 1363760 - Part 3 - In tests, install SpecialPowers and mochijar as non-temporary addons r=ahal
This means they will be copied to $PROFILE/extensions, which the sandbox allows
access to; if they are installed as temporary addons, loading frame scripts in
the content process tries to read from wherever they happen to be on disk. This
breaks running tests with a packaged build once we have full read-restrictions
for the content process sandbox.

MozReview-Commit-ID: 7ZiiM9FMXfG

--HG--
extra : rebase_source : d2cf3a2d06df9099dc6056fae351200eaa1d0ca9
2017-05-30 10:09:57 -04:00
Geoff Brown
e8d6ec9627 Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
Paolo Amadini
30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01:00
Paolo Amadini
f960ce1e88 Bug 1242505 - Part 4 - Add self-tests for unhandled rejection handling in browser-chrome tests. r=Mossop
MozReview-Commit-ID: 9gloXfhfZ3x

--HG--
rename : testing/mochitest/tests/browser/browser_fail_add_task.js => testing/mochitest/tests/browser/browser_fail_add_task_uncaught_rejection.js
extra : rebase_source : 7e03f6112ec15c4e85235e590f76ee2321d68cfd
extra : source : c9c01c06908add6e1631121bed3d0cfaa8feeefa
2017-05-27 09:15:19 +01:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Paolo Amadini
a002e5d1d1 Bug 1365649 - Improve browser-chrome self-tests and the "fail-if" manifest property handling. r=Mossop
The browser-chrome self-test files now use the setExpectedFailuresForSelfTest function to specify the exact number of assertion failures that will be triggered. Also, most failures are now intercepted when specifying the "fail-if" property in a "browser.ini" manifest, while previously only those triggered using the "ok" function were intercepted. This allows re-enabling several browser-chome self-tests.

MozReview-Commit-ID: DlDjWaJPfvH

--HG--
extra : rebase_source : d9977dac6ecbd2b28f5697d22ce6edf4e1d4f899
extra : source : 6da58c7bb247d3e879012bea8d848eb68f16e36e
2017-05-27 09:12:02 +01:00
Sebastian Hengst
2748dd52d2 Backed out changeset 6da58c7bb247 (bug 1365649) for frequently failing devtools/client/netmonitor/test/browser_net_simple-request-data.js. r=backout 2017-05-28 11:32:16 +02:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Sebastian Hengst
2aea17aeb6 Backed out changeset c9c01c06908a (bug 1242505) 2017-05-28 11:31:06 +02:00
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Paolo Amadini
71878bc0cf Bug 1242505 - Part 4 - Add self-tests for unhandled rejection handling in browser-chrome tests. r=Mossop
MozReview-Commit-ID: 9gloXfhfZ3x

--HG--
rename : testing/mochitest/tests/browser/browser_fail_add_task.js => testing/mochitest/tests/browser/browser_fail_add_task_uncaught_rejection.js
extra : rebase_source : 31e3a52cb783a656119253e6a380260883bb0de3
2017-05-27 09:15:19 +01:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Paolo Amadini
07056b1bad Bug 1365649 - Improve browser-chrome self-tests and the "fail-if" manifest property handling. r=Mossop
The browser-chrome self-test files now use the setExpectedFailuresForSelfTest function to specify the exact number of assertion failures that will be triggered. Also, most failures are now intercepted when specifying the "fail-if" property in a "browser.ini" manifest, while previously only those triggered using the "ok" function were intercepted. This allows re-enabling several browser-chome self-tests.

MozReview-Commit-ID: DlDjWaJPfvH

--HG--
extra : rebase_source : 498914c84ab69dd484fb5487ad9967073c331fd3
2017-05-27 09:12:02 +01:00
Ryan VanderMeulen
8543438674 Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
Geoff Brown
3054ba2e79 Bug 1366129 - Improve cleanup of android mochitest environment before starting tests; r=jmaher 2017-05-25 07:32:46 -06:00
J. Ryan Stinnett
e9136d19a5 Bug 1328509 - Check failure patterns in assertSnapshots. r=xidorn
Several mochitests call `assertSnapshots`, which prints a reftest-like output
for use with the reftest analyzer.  Update these lines to check failure patterns
before printing, like the regular assertion methods do.

MozReview-Commit-ID: CfChoar7bp8
2017-05-25 10:13:25 -05:00
Phil Ringnalda
30a91cb819 Backed out 6 changesets (bug 1328509) for Windows 7 failures in test_visited_reftests.html
Backed out changeset 8388d8c76fed (bug 1328509)
Backed out changeset 182a88607e08 (bug 1328509)
Backed out changeset 008efac7764b (bug 1328509)
Backed out changeset c2ce10b8bc37 (bug 1328509)
Backed out changeset 65bbc73c87aa (bug 1328509)
Backed out changeset e20d3d5170c2 (bug 1328509)

MozReview-Commit-ID: BSmqdFP1Zom
2017-05-24 22:12:53 -07:00
J. Ryan Stinnett
3d8b73c8cf Bug 1328509 - Check failure patterns in assertSnapshots. r=xidorn
Several mochitests call `assertSnapshots`, which prints a reftest-like output
for use with the reftest analyzer.  Update these lines to check failure patterns
before printing, like the regular assertion methods do.

MozReview-Commit-ID: CfChoar7bp8
2017-05-24 21:20:07 -05:00
Shing Lyu
65cb773340 Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher
MozReview-Commit-ID: EqTOdEwfTWi

--HG--
extra : rebase_source : 36837b43159f484f911cf5183d81c3440d59736a
2017-05-10 10:38:48 +08:00
Wes Kocher
15edcfd962 Merge inbound to central, a=merge
MozReview-Commit-ID: EI67EKp8ykS
2017-05-19 15:14:19 -07:00
Geoff Brown
9552c26f47 Bug 1260312 - Retry mochitest-chrome redirection to improve reliability; r=jmaher
The mochitest-chrome harness sends a custom "contentEvent" event from redirect.html
to a listener in browser-test.js. It is possible for redirect.html to be loaded
and send contentEvent before the listener is set up in browser-test.js. In the
absence of a better synchronization strategy, redirect.html now retries the send
after a few seconds. If the first contentEvent was received, the second will be
ignored; if the first contentEvent was not received, the second should avoid an
intermittent harness hang and timeout.
2017-05-19 12:06:14 -06:00
Geoff Brown
935d7cfd4b Bug 1260312 - Remove a race in the mochitest-chrome harness; r=jmaher
Start listening for "chromeEvent" before loading the script that sends it.
2017-05-19 12:06:12 -06:00
Mike Cooper
94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Andrew McCreight
9cc36bb50a Bug 1366023 - Explicitly import Services.jsm in a few content scripts. r=Gijs
MozReview-Commit-ID: 5HS9tXk3oa9

--HG--
extra : rebase_source : f63765ed9759073b00a66c35f07dbb11c1585326
2017-05-12 15:57:53 -07:00
Bob Owen
ab8c1ce4b1 Bug 1351358 Part 6 prologue: Allow BrowserTestUtils.waitForNewTab to optionally wait for the page in the new tab to load. r=Gijs 2017-05-18 12:08:57 +01:00
Geoff Brown
d844ac12ec Bug 1364228 - Increase marionette startup timeout for Linux mochitests; r=ato
Our linux32-debug build is very slow to startup when running mochitests on aws.
Sometimes we see similar behavior on other linux platforms. Intermittently,
in this environment, startup takes longer than the 120 seconds that marionette
waits, resulting in test failures in bug 1261598. Increasing the marionette
startup timeout to 180 seconds appears to effectively avoid these failures.
2017-05-17 10:30:32 -06:00
Blake Kaplan
9ba3914988 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : a42662d67f7eeca8bc5870d3c70c086abf582164
2017-04-26 17:52:20 -07:00
Blake Kaplan
0799207b81 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : dad9de683517b71a23cfdfd57222734f90588f1d
2017-04-26 17:08:32 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Christoph Kerschbaumer
48324979f7 Bug 1362993 - Add BrowserTestUtils.addTab() which provides triggeringPrincipal for params object. r=florian 2017-05-10 09:31:59 +02:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Sebastian Hengst
4d6b15c05a Backed out changeset cbd3b49c0c29 (bug 1345990) for failing M(c2)'s test_modal_windows.html on Android opt. r=backout 2017-05-06 11:29:09 +02:00
Sebastian Hengst
55ee875568 Backed out changeset 4cc80402cf1c (bug 1345990) 2017-05-06 11:27:33 +02:00
Blake Kaplan
331a401c00 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 4d22d07c6ccfb42718c65fd80cd8a0e20d02f72c
2017-04-26 17:52:20 -07:00
Blake Kaplan
17849d2e28 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : e3b31a5df25ac7df0c67ee35915a62169703e1af
2017-04-26 17:08:32 -07:00
Honza Bambas
a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Nick Alexander
0bfebf0c87 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian,bustage-fix
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob
2017-05-03 19:20:58 +02:00
Xidorn Quan
658ec0d2cc Bug 1340434 part 2 - Request complete log and mark suppressed unexpecteds. r=jmaher
MozReview-Commit-ID: FFP7UfmJ1xs

--HG--
extra : rebase_source : e3c5ee954c3a64359fc4423b8644ee718f463555
2017-02-17 23:45:13 +11:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Andrew McCreight
43d4185c57 Bug 1355834 - Report LLVM symbolizer OOMs as errors. r=jgraham
This will make it easier to correctly star these failures, which
otherwise simply show up as a false positive leak.

MozReview-Commit-ID: 5P6AMRyYmtI

--HG--
extra : rebase_source : 6e63bffb6cdcb389d6533acbc44c2a206009a99e
2017-04-12 11:01:24 -07:00
Carsten "Tomcat" Book
975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Masayuki Nakano
d457e48592 Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato
IMEContentObserver notifies IME of 3 notifications at most when editor is changed.

The order is:
1. text change (with merged range if 2 or more change occurred during an edit transaction)
2. selection change (only the latest selection change. other changes occurred before that during an editor transaction are ignored)
3. position change (scrolled, resized, window moved, etc)

This does not check the behavior in designMode because some operation in testWithHTMLEditor() causes unexpected behavior, e.g., moving focus. It *might* be bug of design mode.  However, it doesn't matter for this bug.  The important thing of this bug is, there should be automated tests for IMEContentObserver.  And fortunately, IMEContentObserver does not check the type of editor.  So, it's enough to test only contenteditable element for HTMLEditor at least for now.  Therefore, I gave up to test it in designMode for now.

MozReview-Commit-ID: 7L6ZlbVMU2P

--HG--
extra : rebase_source : 8282fe7aa2f4d405f2576f05d46b60b044223855
2017-04-19 21:57:58 +09:00
Kevin Jones
a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Bob Clary
e53a1c7d48 Bug 1352333 - remove autophone webrtc test manifests, r=dminor. 2017-04-20 14:13:34 -07:00
Alex Gaynor
fcd28c5b2a Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati

--HG--
extra : rebase_source : 81ba8bfee0ca96979cf8e30d75cdd47f06bc10ea
2017-04-07 14:53:19 -04:00
Sebastian Hengst
e7317789ad Backed out changeset 225683fed1d1 (bug 1294641) for breaking crashtests, reftests and Windows builds. r=backout on a CLOSED TREE 2017-04-17 16:29:52 +02:00
Alex Gaynor
fd11319799 Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati

--HG--
extra : rebase_source : f637acff32fc8582732de932503dd696abc57877
2017-04-07 14:53:19 -04:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Wes Kocher
c8a2033f35 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07:00
Geoff Brown
f513cbe989 Bug 1355800 - Improve test web server shutdown to avoid delays; r=jmaher
This eliminates a 2 minute timeout seen at the end of Android mochitests
and reftests. Attempts to shutdown the web server were failing because
they were directed at IP 10.0.2.2 -- the loopback address for the
Android emulator.
2017-04-13 14:33:42 -06:00
Wes Kocher
2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Dan Minor
4146b32212 Bug 1264343 - Only run test_peerConnection_scaleResolution.html with VP8 codec on Android; r=jib
We don't currently support H.264 on Android in automation, but we can improve
our test coverage by running the VP8 portion of this test in the meantime.

MozReview-Commit-ID: 3SPCTaqlfMk

--HG--
extra : rebase_source : cae3251f489e45f56b04378074083d6b4fd24666
2017-04-07 08:42:23 -04:00
Geoff Brown
f8160809a8 Bug 1340233 - Take more care when killing browser before starting Android tests; r=jmaher
The devicemanager killProcess() is updated to use force-stop first, then
use kill if force-stop does not work.

Browser test harnesses are updated to check if killProcess() worked, and
warn if it failed.
2017-04-12 09:15:53 -06:00
Geoff Brown
899a19709a Bug 1332084 - Add smoketest for geckoview_example - add harness; r=jmaher 2017-04-11 09:21:39 -06:00
Geoff Brown
decf51a9ce Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher 2017-04-11 09:21:37 -06:00
Geoff Brown
7998c8ce76 Bug 1354042 - Delete pending crash reports between mochitests; r=jmaher 2017-04-09 11:31:19 -06:00
Sebastian Hengst
6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Geoff Brown
a12295d8a8 Bug 1354042 - Delete pending crash reports between browser mochitest tests; r=jmaher 2017-04-07 15:46:07 -06:00
James Graham
7daf9955f1 Bug 1353858 - Fix ASAN leak detection in mochitest, r=ato
The gecko messages are now in the "process_output" action, rather than
in the "log" action (except for a few legacy cases), so examine both
when looking for LSAN messages.

MozReview-Commit-ID: 82r1p8WLwFa

--HG--
extra : rebase_source : 5af1c529e58f5ba90a3fd222e3cbbc67a850a08c
2017-04-06 17:15:01 +01:00
Chris Manchester
c3b5b59a79 Bug 1354265 - Run process output through the stack fixer in mochitests. r=jgraham
MozReview-Commit-ID: LA4LCk9TetD

--HG--
extra : rebase_source : 44d20554e29d947cb293cdde29dc1856a396b103
2017-04-06 12:58:28 -07:00
Ting-Yu Chou
5dd0d99f75 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Dan Banner
cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Wes Kocher
93d11e3441 Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Ting-Yu Chou
e8fe1839b7 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Carsten "Tomcat" Book
d40c4b5e91 Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
Ting-Yu Chou
9c1ec9c16c Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : ae28acf8b01688ca73b09b08769e35261c9365bd
2017-03-10 12:08:34 +08:00
Mike Conley
a792e520a7 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -04:00