From 399a31202e761cf38b385500caefba84f414681d Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 26 Aug 2016 17:52:50 +0900 Subject: [PATCH] Output more debug logs --- modules/browser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/browser.js b/modules/browser.js index ab2f1e66..29a56714 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -5637,6 +5637,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { if (!aChild.parentNode || (aParent && !aParent.parentNode)) // do nothing for closed tab! return; + log('attachTabTo: attach ', aChild._tPos, ' to '. parentTab._tPos); + aInfo = aInfo || {}; var newAncestors = []; @@ -5817,6 +5819,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { if (!parentTab) return; + log('detachTab: detach ', aChild._tPos, ' from '. parentTab._tPos); + if (!aInfo.dontUpdateInsertionPositionInfo) this.closeUpInsertionPositionInfoAround(aChild);