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

12 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 606beee3f2 Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
MozReview-Commit-ID: 9SmoR9RlvZE

--HG--
extra : rebase_source : 054e14150921615ed67415ddb91b45169cc868d4
2018-02-07 09:24:15 +00:00
Andrew McCreight 754a4bcd3c Bug 1432992, part 2 - Manually remove some empty blocks. r=florian
Also, remove a now-obsolete comment from placesOverlay.xul and remove
some now-empty XPCShell test head files.

MozReview-Commit-ID: 6kKVQu8FAL3

--HG--
extra : rebase_source : 7dd05818d68a15bd170af734078db4ba45029d80
2018-01-25 16:52:25 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Marco Castelluccio 0590afed91 Bug 1416199 - Don't try to set signal handlers in Windows coverage build. r=froydnj
--HG--
extra : rebase_source : f74f90bf0e146d674044eeef2c2e9b546335a564
2017-11-10 12:50:14 +01:00
Marco Castelluccio 5a55204eb5 Bug 1403143 - Remove useless 'using namespace mozilla::ipc' from CodeCoverageHandler. r=jmaher
--HG--
extra : rebase_source : b004bf77bf9b334586b29cbfdce1bc383a739925
2017-09-26 13:48:17 +02:00
Marco Castelluccio ebceaf00d0 Bug 1397505 - Only support dumping/resetting coverage counters with GCC builds. r=froydnj
--HG--
extra : rebase_source : c6f8662eaac48a5d6941db5e582686ce5c6b8a47
2017-09-07 00:31:03 +02:00
Christian Holler 5efd41fcce Bug 1390945 - Make GCOV signal handlers work in --disable-debug mode. r=froydnj
MozReview-Commit-ID: Lm8IhokH3ns

--HG--
extra : rebase_source : 370f499b45da8884cf654f72dd25f344b44dbd7c
2017-08-16 20:39:26 +02:00
Marco Castelluccio ea2a344691 Bug 1380659 - Move xpcshell and mochitest in different directories. r=me
--HG--
rename : tools/code-coverage/tests/mochitest.ini => tools/code-coverage/tests/mochitest/mochitest.ini
rename : tools/code-coverage/tests/test_coverage_specialpowers.html => tools/code-coverage/tests/mochitest/test_coverage_specialpowers.html
rename : tools/code-coverage/tests/.eslintrc.js => tools/code-coverage/tests/xpcshell/.eslintrc.js
rename : tools/code-coverage/tests/head.js => tools/code-coverage/tests/xpcshell/head.js
rename : tools/code-coverage/tests/test_basic.js => tools/code-coverage/tests/xpcshell/test_basic.js
rename : tools/code-coverage/tests/test_basic_child_and_parent.js => tools/code-coverage/tests/xpcshell/test_basic_child_and_parent.js
rename : tools/code-coverage/tests/xpcshell.ini => tools/code-coverage/tests/xpcshell/xpcshell.ini
extra : rebase_source : 8a6a3ed50fadc870ef847d4e0b5cab21d28b68e6
2017-07-21 20:22:07 +02:00
Marco Castelluccio 8bcd161a08 Bug 1380659 - Test SpecialPowers API to dump/reset coverage counters with a mochitest. r=jmaher
--HG--
extra : rebase_source : 904fc99cc5937286682a85218de8a9285bf0375e
2017-07-14 11:02:50 +02:00
Marco Castelluccio 947fc12ece Bug 1380659 - Add xpcshell test with child and parent process, where the parent process requests dump of coverage counters. r=erahm
--HG--
extra : rebase_source : 3802baaf82c5ff0b41a88e1acd4063c75a5fb03a
2017-07-14 11:01:07 +02:00
Marco Castelluccio d6b5f01351 Bug 1380659 - Add basic xpcshell test for the code coverage component. r=erahm
--HG--
extra : rebase_source : 245fa834b7b2a8d4c3f61871e93f5bdfd3d0cf72
2017-07-14 10:59:12 +02:00
Marco Castelluccio 9ca39b7d11 Bug 1380659 - Introduce code coverage component to dump/reset coverage counters. r=erahm
--HG--
rename : ipc/glue/CodeCoverageHandler.cpp => tools/code-coverage/CodeCoverageHandler.cpp
rename : ipc/glue/CodeCoverageHandler.h => tools/code-coverage/CodeCoverageHandler.h
extra : rebase_source : 77b2f698d9120d3fadcae65b3d22831a9e5429f9
2017-07-14 10:58:56 +02:00