looks good, but we need to handle moving this API from mozContext to some QtQmlUtils...