Created attachment 542827 [details] [diff] [review]
Comment on attachment 542827 [details] [diff] [review]
can you add a test to browser_tabfocus.js?
A test involving a tab-modal prompt? I'd rather not...
Can you provide some STR please in order to verify this.
1. Open data:text/html,<script>alert(1)</script> and don't close the alert
2. Switch back to the previous tab
3. Focus the location bar
4. Switch back to the tab you opened
5. Switch back to the previous tab
-> The location bar should be focused again
Considering comment5, setting resolution to Verified Fixed on Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0 beta 2
This behavior does not apply to
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 beta 2 and also the 32 bit version.
After flowing the steps from comment5, the location bar isn't in focus.