From parent bug: STR: 1. Have Firefox remember your tabs from last time at startup. 2. Minimize a window. 3. Close the browser without activating the window (right click taskbar entry, close) 4. Start the browser up 5. Window displays, minimizes and then restores. [depends on the patch in bug 520178] This is a spin off from bug 520178. On windows, this problem is hidden by another bug where session store didn't know the correct size mode of windows. Once the patch in 520178 lands, this bug will be exposed. Stepping through with venkman, this focus call is the cause - http://mxr.mozilla.org/mozilla-central/source/browser/components/sessionstore/src/nsSessionStore.js#2440
Created attachment 438334 [details] [diff] [review] patch plus test I also removed spaces in Makefile and replaced them with one tab, as Serge ask in https://bugzilla.mozilla.org/show_bug.cgi?id=480109#c20 I ran test on my Fedora 12, no failed test seen.