On 2/1/18 4:04 PM, Nicholas Nethercote wrote:
It is also slightly stricter; see the list at the bottom of this email for
details (copied from the commit message).

What happens if a user's prefs file has things that were OK but now fail? Is it effectively dataloss in that we will not parse anything after that and then write out the modified pref file with all the later things missing?

- The old parser allowed integer literals to overflow, silently wrapping
them.

   The new parser treats integer overflow as a parse error.

This seems like a footgun for users who set numeric prefs by hand...

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to