Comment #8 on issue 1904 by [email protected]: Regression: Omnibox is not  
updated properly when the main frame results in a file download
http://code.google.com/p/chromium/issues/detail?id=1904

I looked into this briefly. In webframeloaderclient_impl.cc, we get
dispatchDecidePolicyForMIMEType which determines that the load is "IGNORE".
Asynchronously on the I/O thread, the browser decides to start the download,
and this doesn't affect us.

We need to plumb this ignore action through to the renderer so we can notify
the browser that the current provisional load is being dropped. We don't  
want to
do this in dispatchDecidePolicyForMIMEType, probably the resulting error
callback is better. However, it doesn't look to me like the disposition is
accessible from this layer, we might need to plumb this through if we need  
it.

It might be possible to do this without getting the disposition, and just
always telling the browser about errors, and have the navigation controller
figure out when it applies to a current pending entry and kill it.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to