I saw a reference to desktop.getDragData returning null for the files
list in a drop event handler under IE 7.


( http://code.google.com/p/gears/issues/detail?id=902 ).

I'm seeing it under win 7, IE 8, with gears as downloaded today.

Suspect there's a resource leak.  I have been playing with this in
development mode.

Webpage has a drop zone, and I keep dropping files onto it as I tweak
the back and front ends.  File sized doesn't seem to matter.  (I use 8
byte files for some things, and 300MB files for others.)

What I see is that everything works as expected - until the call
starts failing.  Usual javascript error about object expected.
Refreshing the page does NOT make it go away.  Starting a new instance
of the browser does.

This would seem to indicate there's something consumed that persists
across page loads.  I would speculate that a malloc is failing and
returning null - but that's just a guess.

It's frequent enough that I have an alert for the case where either
getDragData or it's pointer to files is null.  A breakpoint there
doesn't make anything jump out at me - by then, the damage, whatever
it is, is done.

Hope this helps the cause.

Reply via email to