commit 6d929eaab9347152e440908441ed06628de13f85 Author: Mike Perry mikeperry-git@fscked.org Date: Wed Dec 7 14:31:04 2011 -0800
Remove some commented logging statements.
Want to keep them in the git history, though. --- src/components/external-app-blocker.js | 35 -------------------------------- 1 files changed, 0 insertions(+), 35 deletions(-)
diff --git a/src/components/external-app-blocker.js b/src/components/external-app-blocker.js index 7b68a21..ff81cad 100644 --- a/src/components/external-app-blocker.js +++ b/src/components/external-app-blocker.js @@ -246,47 +246,12 @@ ExternalWrapper.prototype = flavor == "application/x-moz-file-promise-url") { this.logger.log(3, "Removing "+flavor); try { tr.removeDataFlavor(flavor); } catch(e) {} - continue; } - - /* - var data = {}, len = {}; - try { - tr.getTransferData(flavor, data, len); - this.logger.log(3, "Got data: "+data.value.QueryInterface(Ci.nsISupportsString).data); - } catch(e) { - } - */ } }
return this._drag().invokeDragSessionWithImage(aDOMNode, aTransferableArray, aRegion, aActionType, aImage, aImageX, aImageY, aDragEvent, aDataTransfer); }, - /* - fireDragEventAtSource: function( aMsg ) { - this.logger.log(4, "FIRE AT THE SOURCE!!!"); - return this._drag().fireDragEventAtSource(aMsg); - }, - - invokeDragSession: function(aDOMNode, aTransferables, aRegion, aActionType ) { - this.logger.log(4, "InvokeDragSession!"); - return this._drag().invokeDragSession(aDOMNode, aTransferables, aRegion, aActionType ); - }, - invokeDragSessionWithSelection: function(aSelection, aTransferableArray, aActionType, aDragEvent, aDataTransfer) { - this.logger.log(4, "InvokeDragSessionWithSelection!!"); - return this._drag().invokeDragSessionWithSelection(aSelection, aTransferableArray, aActionType, aDragEvent, aDataTransfer); - }, - - endDragSession: function(aDoneDrag) { - this.logger.log(4, "EndDrag"); - return this._drag().endDragSession(aDoneDrag); - }, - - startDragSesssion: function() { - this.logger.log(4, "StartDrag"); - return this._drag().startDragSession(); - } - */
};
tor-commits@lists.torproject.org