divyekapoor / tabassassin-extension

Automatically exported from code.google.com/p/tabassassin-extension
1 stars 0 forks source link

When Chrome closes a tab, the remove event is not fired!!! #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Print a page using cloud print

What is the expected output? What do you see instead?

The print preview tabs should be removed from the list of open tabs.  It is not!

Original issue reported on code.google.com by andyw...@google.com on 20 May 2011 at 8:16

GoogleCodeExporter commented 8 years ago
onRemoved() only fires when the user closes a tab.  This become problematic for 
cases when print preview tabs a tab.  The onDetached() fires instead of the 
onRemoved().  Therefore, I have modified the code so onDetached() and 
onAttached() can be used to detect when Chrome closes tabs and adjust the Tab 
Assassin tab model accordingly.

Original comment by andyw...@google.com on 27 May 2011 at 10:23