DescriptionUsing DidCommitProvisionalLoad() instead of DidStartProvisionalLoad() in USIS.
When the download is started, DidStartProvisionalLoad() is called which
in-turn causes UserScriptIdleSchedule to abandon its user scrips. However,
the provisional load is then abandoned. To fix this, this patch only informs
the USIS of a provisional load on DidCommitProvisionalLoad(), which does not
happen on a downlaod attempt.
BUG=104853
TEST=Have an extension that calls chrome.tabs.executeScript().
Start a download that does not redirect the page. Now try having the
extension executeScript().
Before this patch: the inject will not happen.
After this patch: the inject will happen.
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|