Got this debugging another error. Filing here for reference. Original code: https://phabricator.intern.facebook.com/P59317705
return;
      }
      fiber = fiber.return;
    }
    if (sourceFiber.tag === HostRoot) {
      
      
      scheduleCapture(sourceFiber, sourceFiber, value, expirationTime);
    }
  }
  function onCommitPhaseError(fiber: Fiber, error: mixed) {
    return dispatch(fiber, error, Sync);
  }
  function computeAsyncExpiration(currentTime: ExpirationTime) {
    
    
    
    const expirationMs = 5000;
    const bucketSizeMs = 250;
    return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs);
  }
  function computeInteractiveExpiration(currentTime: ExpirationTime) {
    
    const expirationMs = 500;
    const bucketSizeMs = 100;
    return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs);
  }
  // Creates a unique async expiration time.
  function computeUniqueAsyncExpiration(): ExpirationTime {
    const currentTime = recalculateCurrentTime();