function checkLifeCycle(
    oneSidedHandshake, innerProtocolVersion, outerProtocolVersion,
    outerFrameReconnectSupported, innerFrameMigrationSupported, reverse) {
  driver.createPeerIframe(
      'new_iframe', oneSidedHandshake, innerProtocolVersion,
      outerProtocolVersion);
  return driver.connect(
      true /* fullLifeCycleTest */, outerFrameReconnectSupported,
      innerFrameMigrationSupported, reverse);
}
@param {boolean} oneSidedHandshake,
@param {number} innerProtocolVersion
@param {number} outerProtocolVersion
@param {boolean} outerFrameReconnectSupported
@param {boolean} innerFrameMigrationSupported
@param {boolean} reverse
@return {!GoogPromise<undefined>}