See https://github.com/mozilla-b2g/marionette-helper/pull/20/files#r10027644.