Commit Graph
4 Commits
Author SHA1 Message Date
Dave Townsend 67af60ea8f Bug 1484844: Make nsINIParser mutable. r=froydnj
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
2017-10-12 14:20:57 -07:00
Masatoshi Kimura fc99393da2 Bug 1420427 - Stop using native charset in URLPreloader. r=kmag
MozReview-Commit-ID: 5CidUcXLCjP
2017-11-28 00:21:00 +09:00
Kris Maglione ba3d184c06 Bug 1363482: Part 4 - Preload INI files off-thread during startup. r=erahm
MozReview-Commit-ID: CgQLEvjUDOJ
2017-08-31 17:02:10 -07:00
Benjamin Smedberg d1c8ee1d1b Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj
MozReview-Commit-ID: ARS1aTugYjl
2017-01-23 09:24:01 -05:00