Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker