Today I experimented with the abstraction code, ending up with more breakage than functionality.
- I worked on replacing
linkedConversationis mostly used in a way that doesn’t depend on it actually being a conversation.
- I moved the tab context menu code to the
tabbrowser-tabbinding. This worked, but didn’t yield very good results. Tab images got a bit broken and there were some mouse event issues. I decided to move it back to
tabbrowser, with the idea that generic tabs which wanted to implement their own context menus could do so by setting unsetting
mousethrough="always"– this would show the tab’s particular context menu rather than
- I added in a
addGenericTabto allow tab classes other than tabbrowser-tab.
Progress was slow again because I had to decipher a lot of vague/complicated code (e.g.
this.parentNode.parentNode.parentNode.parentNode.foo(this)) and wasn’t able to open DOM Inspector until Mook_as mentioned the
-inspector command line flag (thanks!).
To-do: make tabbrowser-tab easily extendable and further work on tabtest.xml to be a full proof-of-concept for adding non-conversation tabs.