mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

And use the C++ ErrorReporter only to actually output errors. ErrorReporter was so complicated because well, it was always enabled and had to do a bunch of caching to not be (more) slow. But since bug 1452143 it's disabled by default, so we can simplify this setup a lot. Also while at it make the error reporting pref a static pref so that we don't mutate globals from CSS parsing unless we're actually reporting errors. MozReview-Commit-ID: AuIyvJwt7AU