We generalize the theory of continuous-wave lasers by considering spontaneous emission in the photon rate equation. We relate the laser coherence time, Q-factor, and linewidth to the passive-resonator parameters, thereby unifying resonator and laser theory.