see https://github.com/mozilla-b2g/gaia/pull/15770/files#diff-9dd5cbe5fb3e6241b7708ca60a15bdeaL594