It does this all of time. I'm using Chrome right now & it doesn't! I have to stop using the browser that I have used for many years & now I'm using Chrome. Gosh, no issue like that!
please upgrade to the latest Firefox and also maybe this article will help you: Firefox crashes - Troubleshoot, prevent and get help fixing crashes