Bug 517314: Remove left-over dumps from Fennec, r=mfinkle

This commit is contained in:
Ben Combee 2009-09-21 17:34:37 -04:00
Родитель 31026af668
Коммит d54770b9c4
3 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -452,7 +452,7 @@ BrowserView.prototype = {
try {
r.restrictTo(vs.viewportRect);
rects.push(r);
} catch(ex) { dump("fail\n"); }
} catch(ex) { /* dump("fail\n"); */ }
}
tm.dirtyRects(rects, this.isRendering());

Просмотреть файл

@ -658,11 +658,11 @@ MouseModule.prototype = {
* Endpoint of _commitAnotherClick(). Finalize a single click and tell the clicker.
*/
_doSingleClick: function _doSingleClick() {
dump('doing single click with ' + this._downUpEvents.length + '\n');
for (let i = 0; i < this._downUpEvents.length; ++i)
dump(' ' + this._downUpEvents[i].event.type
+ " :: " + this._downUpEvents[i].event.button
+ " :: " + this._downUpEvents[i].event.detail + '\n');/**/
//dump('doing single click with ' + this._downUpEvents.length + '\n');
//for (let i = 0; i < this._downUpEvents.length; ++i)
// dump(' ' + this._downUpEvents[i].event.type
// + " :: " + this._downUpEvents[i].event.button
// + " :: " + this._downUpEvents[i].event.detail + '\n');/**/
let ev = this._downUpEvents[1].event;
this._cleanClickBuffer(2);
@ -673,11 +673,11 @@ MouseModule.prototype = {
* Endpoint of _commitAnotherClick(). Finalize a double click and tell the clicker.
*/
_doDoubleClick: function _doDoubleClick() {
dump('doing double click with ' + this._downUpEvents.length + '\n');
for (let i = 0; i < this._downUpEvents.length; ++i)
dump(' ' + this._downUpEvents[i].event.type
+ " :: " + this._downUpEvents[i].event.button
+ " :: " + this._downUpEvents[i].event.detail + '\n');/**/
//dump('doing double click with ' + this._downUpEvents.length + '\n');
//for (let i = 0; i < this._downUpEvents.length; ++i)
// dump(' ' + this._downUpEvents[i].event.type
// + " :: " + this._downUpEvents[i].event.button
// + " :: " + this._downUpEvents[i].event.detail + '\n');/**/
let mouseUp1 = this._downUpEvents[1].event;
let mouseUp2 = this._downUpEvents[3].event;

Просмотреть файл

@ -1339,7 +1339,7 @@ nsBrowserAccess.prototype = {
openURI: function(aURI, aOpener, aWhere, aContext) {
var isExternal = (aContext == Ci.nsIBrowserDOMWindow.OPEN_EXTERNAL);
if (isExternal && aURI && aURI.schemeIs("chrome")) {
dump("use -chrome command-line option to load external chrome urls\n");
//dump("use -chrome command-line option to load external chrome urls\n");
return null;
}
@ -2347,8 +2347,8 @@ Tab.prototype = {
},
startLoading: function() {
if (this._loading)
dump("!!! Already loading this tab, please file a bug\n");
//if (this._loading)
// dump("!!! Already loading this tab, please file a bug\n");
this._loading = true;
this._browserViewportState.zoomChanged = false;
@ -2360,8 +2360,8 @@ Tab.prototype = {
},
endLoading: function() {
if (!this._loading)
dump("!!! Already finished loading this tab, please file a bug\n");
//if (!this._loading)
// dump("!!! Already finished loading this tab, please file a bug\n");
this._loading = false;
clearTimeout(this._loadingTimeout);