Open Bug 1597762 Opened 5 years ago Updated 2 years ago

Emit 'commit' lifecycle event

Categories

(Remote Protocol :: CDP, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: impossibus, Unassigned)

References

(Blocks 2 open bugs)

Details

I don't think this blocks gutenberg tests at the moment.

Priority: -- → P3

Maybe we have to indeed switch from handling the individual navigation events (DOMContentLoaded, pageshow) to web progress listeners.

It may also mean we have to always listen for the events internally
but avoid emitting them until the client enables the domain, so
that we can build up a cache to flush.

Chrome actually retrieves the timestamps for each of those events on the current loader. As such it is able to use those from the last navigation. I wonder if we have a reference to the loader, and could do the same.

Component: CDP: Page → CDP
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.