Bug 937485: [WebIcc] use Webidl enum for cardState