Skip to content
This repository was archived by the owner on Feb 26, 2022. It is now read-only.

Bug 628188#106

Merged
2 commits merged into
mozilla:masterfrom
felipc:bug628188
Feb 9, 2011
Merged

Bug 628188#106
2 commits merged into
mozilla:masterfrom
felipc:bug628188

Conversation

@felipc
Copy link
Copy Markdown
Contributor

@felipc felipc commented Feb 8, 2011

Version for checkin. r=adw

The tabs module conflicts with panorama because it manually calls tab.close() when a window is closed, which interferes with the browser itself closing them. With this change we'll just emit the onclose event instead, which was the original purpose of calling tab.close().

There was another problem in which only half of the tabs were receiving the onclose event due to elements being removed from the tabs list during an iteration on the list. This is fixed by the first commit.
Tests included for both changes

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant