From DOM Promises: `resolveCallback` and `rejectCallback`