Output more debug log

This commit is contained in:
YUKI Hiroshi 2016-01-25 17:28:59 +09:00
parent 84c0822592
commit 7fdc114ed6

View File

@ -3639,7 +3639,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
} }
tab.__treestyletab__previousPosition = prevPosition; tab.__treestyletab__previousPosition = prevPosition;
mydump('onTabMove '+prevPosition+' => '+tab._tPos+'\n'); mydump('onTabMove '+prevPosition+' => '+tab._tPos+' (internal moving count='+tab.__treestyletab__internallyTabMovingCount+', owner='+String(tab.owner)+')\n');
mydump((new Error()).stack.replace(/^/gm, ' ')+'\n');
// When the tab was moved before TabOpen event is fired, we have to update manually. // When the tab was moved before TabOpen event is fired, we have to update manually.
var newlyOpened = !this.isTabInitialized(tab) && this.onTabOpen(null, tab); var newlyOpened = !this.isTabInitialized(tab) && this.onTabOpen(null, tab);