[Sugar-devel] [PATCH Browse] Cancel a download if space is very tight SL #394

Martin Langhoff martin.langhoff at gmail.com
Wed Sep 12 08:28:17 EDT 2012


On Wed, Sep 12, 2012 at 8:24 AM, Manuel Kaufmann <humitos at gmail.com> wrote:
> On Wed, Sep 12, 2012 at 9:21 AM, Martin Langhoff
> <martin.langhoff at gmail.com> wrote:
>> That's very good handling on webkit's side. And does it remove the
>> file? IOWs, when you get the signal, what do you see in the tmpfs? Is
>> there a file filling it, or has the file been removed?
>
> Oh, sorry. I forgot to mention this. The file is still there with the
> size that webkit could get (in my case 904kb). Webkit didn't remove
> it.

Hmmm. Ok, so it's leaving it up to the download manager code (our
browse code) to handle the remains. AIUI, Webkit will be using the
filename (or filename template) we passed it, so we know enough to
find the file and remove it in that case. We should :-)

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list