console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception, but a lot of the places code was using it in a way that would be better served by throwing an exception when the condition is false. MozReview-Commit-ID: DEF5HSfYO36