gecko-dev/xpcom/tests
Kagami Sascha Rosylight 0b2130674e Bug 1788986 - Part 4: Add a counter for nsIFile r=xpcom-reviewers,nika,barret,janv
This adds `count` out parameter for recursive file remove calls to report the number of the removed entries.

  Having a lot of files removed by `::Remove(recursive=true)` has been a problem, as a slow disk can cause a hang with such call. A counter feature will help us knowing the situation better via telemetry.

  The use of out parameter here is to mark it optional and prevent unwanted changes in existing callers (because a return value can't be optional).

Differential Revision: https://phabricator.services.mozilla.com/D156940
2023-02-06 11:32:48 +00:00
..
crashtests
gtest Bug 1788986 - Part 4: Add a counter for nsIFile r=xpcom-reviewers,nika,barret,janv 2023-02-06 11:32:48 +00:00
unit Bug 1541508 - Use Services.env in xpcom/ r=xpcom-reviewers,kmag 2022-11-25 19:09:13 +00:00
windows Bug 1628269 - Remove unused xpcom/tests/windows/TestHelloXPLoop.cpp r=xpcom-reviewers,kmag 2022-11-12 08:41:55 +00:00
moz.build
NotXPCOMTest.idl
RegFactory.cpp
resources.h
SizeTest01.cpp
SizeTest02.cpp
SizeTest03.cpp
SizeTest04.cpp
SizeTest05.cpp
SizeTest06.cpp
test.properties
TestArguments.cpp
TestBlockingProcess.cpp
TestHarness.h
TestingAtomList.h
TestMemoryPressureWatcherLinux.cpp Bug 1774864 - Cleanup xpcom/ includes r=sylvestre 2022-06-24 07:13:59 +00:00
TestPRIntN.cpp
TestQuickReturn.cpp Bug 1774864 - Cleanup xpcom/ includes r=sylvestre 2022-06-24 07:13:59 +00:00
TestShutdown.cpp
TestStreamUtils.cpp
TestUnicodeArguments.cpp
TestWinReg.js