Notify RendererScheduler of starting LOADING phase on OnCommitNavigation
Blink Scheduler has been considering that the renderer is in the loading
phase after OnNavigate or DidCommitProvisionalLoad event. However on the
PlzNavigate case, OnNavigate doesn't happen and DidCommitProvisionalLoad
happens after the main resource load, so the renderer is not in the loading
phase while a main resource request is in-flight. That may cause a throttled
loading task queue, and delay the main resource load.
This CL adds OnCommitNavigation as a trigger of the loading phase,
so that the main resource is always loaded in an unthrottled task queue.
Reviewed-by: Sami Kyöstilä <firstname.lastname@example.org>
Reviewed-by: Camille Lamy <email@example.com>
Reviewed-by: Kinuko Yasuda <firstname.lastname@example.org>
Reviewed-by: Yutaka Hirano <email@example.com>
Commit-Queue: Taiju Tsuiki <firstname.lastname@example.org>
1 file changed