According to the current source of chromium :
We are trying to start downtime in two places: here and DidFinishLoad. DidFinishDocumentLoad () corresponds to the completion of the loading of the document, whereas DidFinishLoad corresponds to the completion of the document and the total loading of sub-resources. We do not want to delay the script injection for a particularly slow subresource, so we postponed the pending task from here, but if we finish everything to this point (i.e. DidFinishLoad () fires), then there is no reason to wait.
Translated to a web developer, it basically means ...
document_idle scripts will run, the earliest of these things is true:
window.onload fired- It has been 200 ms since
DOMContentLoaded running.
On typical pages, these scripts are likely to run on # 2.
source share