From 7fdc114ed671bdaded77ba98f8246bf7a86a99dd Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 25 Jan 2016 17:28:59 +0900 Subject: [PATCH] Output more debug log --- modules/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/browser.js b/modules/browser.js index 13837a10..26dcceb3 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -3639,7 +3639,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { } 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. var newlyOpened = !this.isTabInitialized(tab) && this.onTabOpen(null, tab);