ateChanges(t, pc2);

    await pc1.setLocalDescription(await pc1.createOffer());
    await pc2.setLocalDescription(await pc2.createOffer());

    await new Promise(r => t.step_timeout(r, 500));
  }, 'setLocalDescription(reoffer) with no new transports should not cause iceGatheringState to change');

  promise_test(async t => {
    const pc1 = new RTCPeerConnection();
    t.add_cleanup(() => pc1.close());

    expectNoMoreGatheringStateChanges(t, pc1);

    await pc1.setLocalDescription(await pc1.createOffer