waitForPromise(p, label) {
    const cleanup = () => {};
    const target = null;
    return this.waitUntilGeneric_(label, p, cleanup, target);
  }
Wait for a certain Promise to be resolved, or throw on timeout.

@param {!Promise} p
@param {string} label A name to give the Promise in error messages.
@return {!Promise}