Also, replace nsCRT::strcmp with EqualsLiteral. nsCRT::strcmp is deprecated API. MozReview-Commit-ID: KZ4xfk7bhH3 --HG-- extra : rebase_source : dace79aea16c53ed48bcd47a62bf5ca7b36d2a3c