문제

I am making extension for firefox and wondering which observer listens on the event at time=0 in har file.

Here are some homework I did: I found that http-on-modify-request will be fired for all requests from firefox. However, if I listen on the first http-on-modify-request event, I got this event triggered even before the firefox GUI is loaded, and also as I compared its time with its har file, the timing is off.

도움이 되었습니까?

해결책

Without knowing what exactly Firebug is doing, I suspect that it is using progress listeners. So the "event" being recorded is an onStateChange call with STATE_START and STATE_IS_WINDOW flags - a load was started in a particular browser tab.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top