To make sure that script-opened windows close()ing themselves aren't able to shut down the entire app.
Created attachment 388730 [details] testcase STR: 1) Click the "open popup" 2) in the resulting tab, click "close popup" Expected: tab closes Actual: entire window closes
Created attachment 388733 [details] [diff] [review] patch Firefox's handler (in tabbrowser.xml) includes a workaround for bug 265790 that was landed in bug 263844. It's no longer necessary now that bug 265790 was fixed otherwise, AFAICT (tested with the testcase in bug 265790). I'll file a Firefox bug on removing it.
Verified fixed in the Maemo build form 8/11/2009.