Analysis of a method of phase measurement of ultrashort pulses in the frequency domain