Pretty complicated in the general case but might be simple in the case of number overflow.
Also, while we shouldn't depend on the UI in libpref, could we send some kind of event or observer notification that the UI could use to display a detailed error message? It would be a shame if Firefox was broken and impossible-to-diagnose because of a number overflow, for instance. On 02/02/2018 14:42, Boris Zbarsky wrote: > You mean pick up parsing again after hitting an error? That sounds > complicated... > > -Boris > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform