I like the idea of removing the dependency but parsing can potentially allocate a lot of memory so I think it makes sense to have some kind of fallback. Particularly since bug 1716727 suggests that handling OOM can make a significant difference to our crash rate.
Bug 1786512 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I like the idea of removing the dependency but parsing can potentially allocate a lot of memory so I think it makes sense to have some kind of fallback. ~~Particularly since bug 1716727 suggests that handling OOM can make a significant difference to our crash rate~~ Looks like this didn't make a difference to the overall crash rate.