Bug 984274 - add required permission for mochitest. r=fabrice

uplift to v1.4