add: if ( !gDragDropEnabled ) return;  
context:   function DragOverContentArea ( event )  {    var validFlavor = false;    var dragSession = null;    var dragService = Components.classes["component://netscape/widget/dragservice"].getService();    if ( dragService ) dragService = dragService.QueryInterface(Components.interfaces.nsIDragService);    if ( dragService ) {      dragSession = dragService.getCurrentSession();      if ( dragSession ) {        if ( dragSession.isDataFlavorSupported("moz/toolbaritem") )          validFlavor = true;        else if ( dragSession.isDataFlavorSupported("text/plain") )          validFlavor = true;        else if ( dragSession.isDataFlavorSupported("text/unicode") )          validFlavor = true;        //XXX other flavors here...such as files from the desktop?                if ( validFlavor ) {          // XXX do some drag feedback here, set a style maybe???                    dragSession.canDrop = true;          event.preventBubble();        }      }    }  } // DragOverContentArea
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/2c86922f1c8008354485171557c1ef683b2002d4/navigator.js/buggy/suite/browser/navigator.js