Bug 959971 - Allows -1 as a valid retry count

https://bugzilla.mozilla.org/show_bug.cgi?id=959971