Actually, the change is due to below to bugs. 
https://bugzilla.mozilla.org/show_bug.cgi?id=916000 (Gecko reported illegal SIM State)
https://bugzilla.mozilla.org/show_bug.cgi?id=919967 (Can import contact when SIM illegal)

The display of "illegal" seems not necessary for origin request.
On Android seems "illegal" state is reported by modem but ignore(or convert to other state) by upper layer..
Btw, if keep the origin code, what will UI show after receive "illegal" from gecko?