Convert \r\n line endings to \n before checking whitelist (bug 1088680)

https://bugzilla.mozilla.org/show_bug.cgi?id=1088680
Can you assert that `\r\n` occurs in `tests/resources/content/error.js` also.