зеркало из https://github.com/mozilla/gecko-dev.git
204fe23163
In order to implement profile-per-install we need a mutable INI parser in early startup. The current one is implemented in JavaScript and thus not available. This makes the current read-only C++ INI parser mutable and removes the JavaScript implementation. It turns out that the two different implementations of nsIINIParserFactory and nsIINIParser behaved slightly differently but only in ways that the single test cared about so I've adjusted things a little to make it work. The existing C++ implementation did not do validity checks on arguments, this adds that making empty sections and values illegal. Differential Revision: https://phabricator.services.mozilla.com/D3851 --HG-- rename : xpcom/tests/unit/test_iniProcessor.js => xpcom/tests/unit/test_iniParser.js extra : source : 524941c8ed0e048ee51be1bd11082b41428ef490 extra : amend_source : 2de6cef5be97448a41733bedda29d6af34aed27a |
||
---|---|---|
.. | ||
gtest | ||
unit | ||
windows | ||
NotXPCOMTest.idl | ||
RegFactory.cpp | ||
SizeTest01.cpp | ||
SizeTest02.cpp | ||
SizeTest03.cpp | ||
SizeTest04.cpp | ||
SizeTest05.cpp | ||
SizeTest06.cpp | ||
TestArguments.cpp | ||
TestBlockingProcess.cpp | ||
TestHarness.h | ||
TestPRIntN.cpp | ||
TestQuickReturn.cpp | ||
TestShutdown.cpp | ||
TestStackCrawl.cpp | ||
TestStreamUtils.cpp | ||
TestUnicodeArguments.cpp | ||
TestWinReg.js | ||
TestingAtomList.h | ||
moz.build | ||
resources.h | ||
test.properties |