DescriptionAdd new user script injection point "document_idle" and make it the default.
Semantically, document-idle means "when the DOM is ready and layout has been idle for awhile", or more loosely, "as soon as we get around to it".
Right now this uses a simple heuristic. It injects scripts 200ms after DOMContentLoaded, or immediately after onload, whichever happens first.
BUG=26126
TEST=Manual. Extensions with content scripts should work.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30784
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : Simpler heuristic #
Total comments: 3
Patch Set 4 : blargh #Patch Set 5 : smaller, cleaner, better #
Total comments: 10
Messages
Total messages: 11 (0 generated)
|