TSM sets openerTabId for restored tabs when the compatibility option for Tree Style Tab is activated. But it looks to fail for tabs with special URLs impossible to be opened with tabs.create(), like about:config.
Tabs are opened with openerTabId except the first tab, like:
1. about:addons (no `openerTabId`)
2. about:debugging (`openerTabId` = 1)
3. about:support (`openerTabId` = 2)
4. about:networking (`openerTabId` = 3)
5. about:config (`openerTabId` = 4)
All tabs are opened without openerTabId.
Here is the original issue reported to TST: https://github.com/piroor/treestyletab/issues/2774
TSM replaces the URL of an opening tab, from a dangerous URL to its safe version like moz-extension://xxxx-xxxx-xxxx-xxxx/replaced/index.html?state=open_faild&title=%E9%AB%98%E5%BA%A6%E3%81%AA%E8%A8%AD%E5%AE%9A&url=about%3Aconfig&favIconUrl=undefined . The replacing logic looks to break the restoration logic of openerTabId - sorry this is just an assumption.
I fixed it. https://github.com/sienori/Tab-Session-Manager/commit/b5f066c9307d241005be2703892f3281ebed4c55
Thank you for the detailed report!
Oh, thank you for the quick fix!
Most helpful comment
I fixed it. https://github.com/sienori/Tab-Session-Manager/commit/b5f066c9307d241005be2703892f3281ebed4c55
Thank you for the detailed report!