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

3001 Коммитов

Автор SHA1 Сообщение Дата
Madeleine Chercover 99f76d739a Bug 1347241 - Enable linux64-ccov coverage collection for common tests set; r=gmierz,jmaher
MozReview-Commit-ID: FLyjCwMGb6L

--HG--
extra : rebase_source : 4c2c56c5ace6fd1f6b933a92ad0f69189ab1df69
2017-03-14 11:40:59 -07:00
J. Ryan Stinnett e5e3509284 Bug 929535 - Use wait-for-jsdebugger with mochitests. r=Gijs
By using --wait-for-jsdebugger, we can allow the test suite to start
automatically and also ensure the JS debugger has a chance to connect.

There's still an extra click to get the tests running though (at least on macOS)
because the test harness needs to be focused and the extra process used for the
Browser Toolbox removes the focus from it.

MozReview-Commit-ID: 1Eg7lqG3KST

--HG--
extra : rebase_source : 5df1ac74a3e083ac6c2293fb1cf8a27509b81274
2017-03-13 11:10:04 -05:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Stone Shih 229b4ba331 Bug 606885 - Fire drag events with keyboard modifiers. r=enn
--HG--
extra : rebase_source : c6e4ac37ea2397d86368cb59b0a68aa3a9f43d79
2017-02-17 11:29:42 +08:00
Sebastian Hengst 2a6e3ab1e6 Backed out changeset e6376870fa41 (bug 1344346) for failing at least web-platform-tests and robocop tests. r=backout 2017-03-09 18:36:39 +01:00
Andrew Halberstadt cc6a6303a3 Bug 1344346 - [mochitest] Log unstructured output as 'process_output', r=jgraham
Mochitest currently converts unstructured logs (e.g output from gecko) to 'info' messages. But
this means those messages won't be validated against mozharness' error logs. This change first
gets unstructured messages logged as process_output, and also ensures the StructuredOutputParser
in mozharness checks process_output messages against the error list.

MozReview-Commit-ID: KPTQnulwzyK

--HG--
extra : rebase_source : bdcdbf5567355f28ab88d17b27f44d5dfa0467c2
2017-03-03 16:28:22 -05:00
Bob Clary 0cb7468d61 Bug 1281639 - Disable failing tests for Mochitest Media failures on Android, r=gbrown. 2017-03-08 10:17:07 -08:00
Sam Foster 589c1b5503 Bug 1344308 - Extend toolkit's eslint rules and fix lint errors in PSM r=jaws
* Remove eslint rules for PSM which are redundant with toolkit/.eslintrc.js
* Fix missing plugins block in mochitest.eslintrc.js
* Disable brace-style checking in mixed-content mochitests which use boilerplate where calls to runTest and afterNavigationTest all use opening brace on newline. I've left this for a follow-up.
* Fix lint errors resulting from new rules defined by toolkit's eslintrc.js

MozReview-Commit-ID: EepCLrzAsdM

--HG--
extra : rebase_source : e74e008403d9cd70703d60cf829af01dbede0353
2017-03-07 10:15:49 -08:00
Blake Kaplan c57a486e18 Bug 1335801 - Make these tests wait correctly. r=Felipe,krizsa
--HG--
extra : rebase_source : 11506348c56a6763ae59311e3e827410de1dcac2
2017-03-01 17:11:23 -08:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Kris Maglione 88c2557115 Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy
MozReview-Commit-ID: 57yhjZxVl90

--HG--
extra : rebase_source : 273a5a0d5410656425b1e7d8570b5d32869a413e
2017-03-06 13:09:40 -08:00
Wes Kocher d1b8197b88 Backed out changeset ba253783b432 (bug 1335801) for browser_referrer_simple_click.js failures a=backout CLOSED TREE
MozReview-Commit-ID: 5jn0Okch3jt

--HG--
extra : amend_source : 509a1aa488b347029a7aea4526380366d5f4af2d
2017-03-06 15:30:03 -08:00
Blake Kaplan 9acea25eaf Bug 1335801 - Make these tests wait correctly. r=Felipe,krizsa
--HG--
extra : rebase_source : 36d4d2378d879d92d25e4ed0439e31f3f9f068f6
2017-03-01 17:11:23 -08:00
Mark Banner eccd251f36 Bug 1344690 - Fix an issue with 'Environment key "mozilla/simpletest" is unknown' when running eslint on some mochitests. r=jaws
MozReview-Commit-ID: Fs27kXDh4Ht

--HG--
extra : rebase_source : 4a87cf04521bc7a59e993ddbd1eb4b5dcdae7988
2017-03-06 12:29:49 +00:00
Tomislav Jovanovic 5cbc8240df Bug 1343583 - Adapt test framework to function toString revision r=aswan
MozReview-Commit-ID: LHABSIrgpBi

--HG--
extra : rebase_source : dd165454a14544b546fb973262e7b814cd0c627c
2017-03-02 20:38:25 +01:00
Wes Kocher b9ff582762 Backed out 2 changesets (bug 1343583) at developer's request a=backout
Backed out changeset 10fccfc11db1 (bug 1343583)
Backed out changeset 3b9e06e3d9b8 (bug 1343583)

MozReview-Commit-ID: FKEYDU9MZIa
2017-03-02 10:44:07 -08:00
Tomislav Jovanovic b9dd9e5d3a Bug 1343583 - Adapt test framework to function toString revision r=aswan
MozReview-Commit-ID: LHABSIrgpBi

--HG--
extra : rebase_source : 305fd3b2f7c8d8a6054f2621cde6f48f0dcd9a20
2017-03-02 18:32:33 +01:00
Mark Banner fb13a772a1 Bug 1343519 - Change the ESLint rule 'import-test-globals' to be an environment (mozilla/simpletest) to better describe the purpose of it. r=mossop
MozReview-Commit-ID: DbrsnUVrAas

--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-test-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/simpletest.js
extra : rebase_source : 97d0537c347999159c82d4757b265f580ec981eb
2017-03-01 21:34:24 +00:00
Mark Banner 09889d3184 Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
MozReview-Commit-ID: FTDV8BcMGeF

--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
extra : rebase_source : f0e89f2ce3cfdf343213f66a007f74a80a785c19
2017-03-01 21:29:52 +00:00
Andrew Halberstadt ee0c886766 Bug 1344346 - [mochitest] Log unstructured output as 'process_output', r=jgraham
Mochitest currently converts unstructured logs (e.g output from gecko) to 'info' messages. But
this means those messages won't be validated against mozharness' error logs. This change first
gets unstructured messages logged as process_output, and also ensures the StructuredOutputParser
in mozharness checks process_output messages against the error list.

MozReview-Commit-ID: KPTQnulwzyK

--HG--
extra : rebase_source : c9038ff87843b1cb46de506e245715f24a60ed63
2017-03-03 16:28:22 -05:00
Iris Hsiao effe8f959a Backed out 3 changesets (bug 1344346) for mochitest shutdownleaks
Backed out changeset 71e3443cdc43 (bug 1344346)
Backed out changeset cd8993e4d0dd (bug 1344346)
Backed out changeset 8e03e57d44aa (bug 1344346)
2017-03-10 10:44:13 +08:00
Andrew Halberstadt 3aa28948a9 Bug 1344346 - [mochitest] Log unstructured output as 'process_output', r=jgraham
Mochitest currently converts unstructured logs (e.g output from gecko) to 'info' messages. But
this means those messages won't be validated against mozharness' error logs. This change first
gets unstructured messages logged as process_output, and also ensures the StructuredOutputParser
in mozharness checks process_output messages against the error list.

MozReview-Commit-ID: KPTQnulwzyK

--HG--
extra : rebase_source : 52f2f048aee5bd40cde29030e7668b321366e9ec
2017-03-03 16:28:22 -05:00
Andrew Halberstadt b638ed69e1 Bug 1340551 - Log tests by manifest from suite_start in mochitest harness, r=jgraham
MozReview-Commit-ID: 1lcw62fmofa

--HG--
extra : rebase_source : 930dd542be6fdace8c6bec916d2246329afffad6
2017-02-22 14:36:31 -05:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Carsten "Tomcat" Book 73835fd06d Merge mozilla-central to autoland 2017-02-24 11:54:01 +01:00
Carsten "Tomcat" Book 7256146318 merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01:00
Mark Banner a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Kevin Jones 4c4d2e43e2 Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao 2017-02-23 17:19:28 +01:00
Kartikaya Gupta cc5638514c Bug 1341476 - Make the dump-dmd-after-test mochitest option work again. r=jmaher
MozReview-Commit-ID: 85oqrrzyYUR

--HG--
extra : rebase_source : d594e77dfa4ee7c0cb3b9dae891da69bf14b4555
2017-02-23 19:36:08 -05:00
Greg Mierzwinski ba5aaf53e6 Bug 1301984 - Add code coverage to mochitest-plain tests. r=jmaher
This patch allows the use of the flag '--jscov-dir-prefix' for mochitest plain tests to enable code coverage collection with the JS Debugger. It also enables the mochitest-plain tests for the linux64-jsdcov build platform.

MozReview-Commit-ID: 6RqMEZ1I0D7

--HG--
extra : rebase_source : 351754541801f69f7c54807f6bdd3a3d1baf9222
2017-02-20 22:55:59 -05:00
Kartikaya Gupta 624bf0bbd2 Bug 1341450 - Repair incorrect check for missing DMDReportAndDump function. r=jmaher
MozReview-Commit-ID: 9lZEvxOYoR3

--HG--
extra : rebase_source : c2e61f6aebafe91269ea7a99bdf4b5cc5492ed21
2017-02-21 18:58:30 -05:00
Xidorn Quan 27565009da Bug 1337674 followup 3 - Fix assertion check.
MozReview-Commit-ID: EckSAiEeou5

--HG--
extra : source : a5aa66df811c33af2d0996ce213790ff0a5350cf
2017-02-18 12:17:24 +11:00
Carsten "Tomcat" Book df64d063a5 Backed out changeset 1081a37acef9 (bug 1340434) for ongoing failures in test_acid3_test46.html
--HG--
extra : rebase_source : e9ee2feceda78439bcca7ddedb9ec8735fc20a2c
2017-02-17 14:46:15 +01:00
Carsten "Tomcat" Book da4f219cf2 Backed out changeset 83b51e1ba3e1 (bug 1340434)
--HG--
extra : rebase_source : 2e3b1f736ab4e618861181f13987832065c8e237
2017-02-17 14:45:52 +01:00
Carsten "Tomcat" Book 9350078ddf Backed out changeset 5c217cd4e9dc (bug 1340434)
--HG--
extra : rebase_source : d3b853a56bf7ecb3960878750ed17368ae8c5e94
2017-02-17 14:45:50 +01:00
Xidorn Quan 29654696c0 Bug 1340434 followup 2 - Fix call before define error in js again. a=tomcat
MozReview-Commit-ID: 8pDzjrEtLoW
2017-02-17 23:45:13 +11:00
Xidorn Quan e3f7165af5 Bug 1340434 followup - Fix call before define error in js. a=tomcat
MozReview-Commit-ID: JP8ephv8Al
2017-02-17 22:38:47 +11:00
Xidorn Quan 968f45d259 Bug 1340434 - Request complete log and mark suppressed unexpecteds. r=jmaher
MozReview-Commit-ID: FFP7UfmJ1xs

--HG--
extra : rebase_source : ce6b6a8634eecc36557c70790dad7f68fda30076
2017-02-17 17:21:00 +11:00
Xidorn Quan db122c3704 Bug 1337674 part 3 - Add failure pattern file support to mochitest. r=jmaher
MozReview-Commit-ID: EcK8AJbXfwh

--HG--
extra : rebase_source : c7672c859e9dda73a7367f863d4d1e49b717b872
2017-02-16 16:41:50 +11:00
Sylvestre Ledru 91704dc94a Bug 1338086 - Remove useless else blocks in order to reduce complexity testing/mochitest/ssltunnel/ r=jmaher
MozReview-Commit-ID: sbiCAKDekh

--HG--
extra : rebase_source : 1145ab7ada71a0ac636acefebfb98858b20e18a8
2017-02-09 10:53:11 +01:00
Andrew Halberstadt 1ed0a110e1 Bug 1337828 - Improve mochitest 'no tests' error message, r=maja_zf
Include the current flavor in the "No tests found" error message. Also suggest
what may have went wrong.

MozReview-Commit-ID: 5LEQFVDoJrT

--HG--
extra : rebase_source : 6abe8c6f467a11ff8abc33a37eefab80505e3cfb
2017-02-09 09:55:23 -05:00
Sylvestre Ledru 4e69d0dd54 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in testing/mochitest/ r=jmaher
MozReview-Commit-ID: D0GA9NJPWfd

--HG--
extra : rebase_source : 820629f886f8d2f003949cc84a447d34bf55405d
2017-02-08 12:04:02 +01:00
Shane Caraveo 6359cf10d6 Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR

--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Gijs Kruitbosch db01372697 Bug 1335272 - prep: factor out registering about: pages into BTU, r=jaws
MozReview-Commit-ID: 2B2j5xcbSWt

--HG--
extra : rebase_source : 0edc732e50ea3482d0cba0fd150ac4d0a07aaa82
2017-02-02 14:34:40 +00:00
Boris Zbarsky 52e939e98d Bug 1334957 part 1. Mark NotifyPaintEvent and all its members as chromeonly. r=smaug 2017-02-01 18:12:38 -05:00
Mark Banner 74a3b5d2c6 Bug 1335813 - Enable eslint no-undef for toolkit, apart from components/ and content/, and fix various issues. r=jaws
MozReview-Commit-ID: LpXm7TbwvDb

--HG--
rename : toolkit/modules/tests/MockDocument.jsm => toolkit/modules/tests/modules/MockDocument.jsm
rename : toolkit/modules/tests/PromiseTestUtils.jsm => toolkit/modules/tests/modules/PromiseTestUtils.jsm
extra : rebase_source : 0013201da831f0d549aea2c9064481c1e1a3ffcc
2017-01-31 13:17:03 +00:00
Andrew Halberstadt 1abba2da72 Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher
Previously the run-wizard script would add a command to source the virtualenv in ~/.bashrc after
mozharness finished setting things up. This is fragile, assumes people are using bash, etc. Plus
it appeared to intermittently fail for some users.

Instead, this activates the virtualenv directly from individual mach commands that need it. This
guarantees we will always be using the virtualenv if required (and won't be using it if not). The
'activate_this.py' script is invoked the same way that we do it for in-tree mach commands:
https://dxr.mozilla.org/mozilla-central/rev/9c06e744b1befb3a2e2fdac7414ce18220774a1d/python/mozbuild/mozbuild/virtualenv.py#456

MozReview-Commit-ID: CfcoiVJXQTl

--HG--
extra : rebase_source : da01d1ce1bd9b41c89922e989f857c4de8c09341
2017-01-31 11:53:36 -05:00
Mark Banner 8cf0d4744c Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00