Bug 812867 - Discard invalid favicon images (r=mfinkle, a=akeybl)
Bug 837373 - Check for valid favicon before scaling it. r=mfinkle a=akeybl