Descriptionfix a problem that download dangerous files in a blank page can fail with authentication
With the chrome download path, when onDownloadStarted() is called, we close the tab if it is blank.
The close call come too early as onDangerousDownload() has not been called yet.
This CL sends the filename and mimeType to java side to check if we can close the tab or not.
Also, if the tab is closed after user validates the dangerous item, the onDownloadComplete() should send a message to the app, rather than tab.
BUG=244052
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204030
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove public keyword from interface #
Messages
Total messages: 5 (0 generated)
|