Monday, March 26, 2012

Interesting Bug in IEDragDropManager

please look at the code of these three functions in IEDragDropManager.

function dragEnterHandler()

function dragLeaveHandler()

function dragOverHandler()

In these three functions, "this._dropTarget" is always "undefined" since there's no code to assign value to it.

The interesting thing is, the code world not be accessed normally. If I create a environment to access the code, an error will be thrown.

Hi JeffreyZhao,

I believe this gets defined indirectly through registerDropTarget.

Thanks,
Ted

No comments:

Post a Comment