зеркало из https://github.com/mozilla/gecko-dev.git
Bug 517314: Remove left-over dumps from Fennec, r=mfinkle
This commit is contained in:
Родитель
31026af668
Коммит
d54770b9c4
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче