Output more debug logs

This commit is contained in:
YUKI Hiroshi 2016-08-26 17:52:50 +09:00
parent 471742bb0b
commit 399a31202e

View File

@ -5637,6 +5637,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
if (!aChild.parentNode || (aParent && !aParent.parentNode)) // do nothing for closed tab! if (!aChild.parentNode || (aParent && !aParent.parentNode)) // do nothing for closed tab!
return; return;
log('attachTabTo: attach ', aChild._tPos, ' to '. parentTab._tPos);
aInfo = aInfo || {}; aInfo = aInfo || {};
var newAncestors = []; var newAncestors = [];
@ -5817,6 +5819,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
if (!parentTab) if (!parentTab)
return; return;
log('detachTab: detach ', aChild._tPos, ' from '. parentTab._tPos);
if (!aInfo.dontUpdateInsertionPositionInfo) if (!aInfo.dontUpdateInsertionPositionInfo)
this.closeUpInsertionPositionInfoAround(aChild); this.closeUpInsertionPositionInfoAround(aChild);