mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
ea799cdb96
This adds an intermediate interface, nsIArrayExtensions, that inherits from nsIArray. This is necessary as nsISupportsArray implements nsIArray as well so the methods could not just be addded to nsIArray. nsIMutableArray inherits from nsIArrayExtensions and so any interface that works with an nsIMutableArray can be updated to return an nsIArrayExtensions. This will allow interfaces that currently return an nsISupportsArray to instead return an nsIArrayExtensions and internally work with an nsIMutableArray. Consumers of these functions will continue to be able to use nsISupportsArray-like iteration even though they're now working with an nsIArray. MozReview-Commit-ID: 9uRjsJbg9Jp |
||
---|---|---|
.. | ||
bug656331_component | ||
component | ||
component_no_aslr | ||
external | ||
gtest | ||
regorder | ||
unit | ||
windows | ||
Makefile.in | ||
MoreTestingAtomList.h | ||
MoreTestingAtoms.cpp | ||
MoreTestingAtoms.h | ||
moz.build | ||
NotXPCOMTest.idl | ||
nsIFileEnumerator.cpp | ||
RegFactory.cpp | ||
resources.h | ||
ShowAlignments.cpp | ||
SizeTest01.cpp | ||
SizeTest02.cpp | ||
SizeTest03.cpp | ||
SizeTest04.cpp | ||
SizeTest05.cpp | ||
SizeTest06.cpp | ||
test.properties | ||
TestArguments.cpp | ||
TestAutoPtr.cpp | ||
TestAutoRef.cpp | ||
TestBase64.cpp | ||
TestBlockingProcess.cpp | ||
TestCallTemplates.cpp | ||
TestCOMArray.cpp | ||
TestCOMPtr.cpp | ||
TestCOMPtrEq.cpp | ||
TestDeadlockDetector.cpp | ||
TestDeadlockDetectorScalability.cpp | ||
TestFile.cpp | ||
TestHarness.h | ||
TestHashtables.cpp | ||
TestID.cpp | ||
TestingAtomList.h | ||
TestingAtoms.cpp | ||
TestingAtoms.h | ||
TestINIParser.cpp | ||
TestJemalloc.cpp | ||
TestNsRefPtr.cpp | ||
TestObserverArray.cpp | ||
TestObserverService.cpp | ||
TestPRIntN.cpp | ||
TestQuickReturn.cpp | ||
TestRacingServiceManager.cpp | ||
TestRegistrationOrder.cpp | ||
TestShutdown.cpp | ||
TestStackCrawl.cpp | ||
TestStaticAtoms.cpp | ||
TestSTLWrappers.cpp | ||
TestStreamUtils.cpp | ||
TestStringAPI.cpp | ||
TestTArray.cpp | ||
TestTextFormatter.cpp | ||
TestThreadPoolListener.cpp | ||
TestThreadUtils.cpp | ||
TestTimers.cpp | ||
TestUnicodeArguments.cpp | ||
TestWinReg.js |