I'm doing some work with the new Facebook js library, http://github.com/facebook/connect-js. There's one thing that bugs me, which is that when you are using Firefox and have the option "Open new windows in a new tab instead" enabled, the login popup opens in a new tab and then resizes the entire browser. It doesn't restore to the original size after successful login or cancel.
The popup window is being opened with window.open(). I'm curious to see if there's a way to detect if a window is opened as a tab or as a separate window. If so, I think I can come up with a work around to restore the window size in affected browsers.