rem: if (!ASSERT("currentContent" in targetView, "view is not visible " + viewId)) 
add: if (!ASSERT("currentContent" in targetView, "view is not visible " + viewId)) { 
context: function vmgr_ondrop (event, transferData, session){    var viewManager = this;        function callProcessDrop ()    {        viewManager.processDrop (sourceView, targetView, direction);    };        var floatingView = this.findFloatingView (event.originalTarget);    var viewId = floatingView.getAttribute ("id");    var targetView = this.views[viewId];    if (!ASSERT("currentContent" in targetView, "view is not visible " + viewId))        return false;    var parsedSource = this.parseLocation(transferData.data);    if (!ASSERT(parsedSource, "unable to parse " + transferData.data))        return false;        if (parsedSource.id == viewId)    {        //dd ("wanker");        return false;    }    var sourceView = this.views[parsedSource.id];        var direction = this.getDropDirection (event, floatingView);    /* performing the actual drop action may involve moving DOM nodes     * that are involved in the actual drag-drop operation.  Mozilla     * doesn't like it when you do that before drag-drop is done, so we     * call ourselves back on a timer, to allow the drag-drop wind down before     * modifying the DOM.     */    setTimeout (callProcessDrop, 1);    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bb4371516e0961b4583fccf05f8b9f3ba9808c81/view-manager.js/buggy/extensions/venkman/resources/content/view-manager.js