Does not work for me, FF 38. This feature used to throw me out of forms all the time, there has been a couple of years that it stopped.
Now the only FF keystroke that annoys me is the CTRL-q for closing the window, that conveniently is just by the side of CTRL-w for closing the tab, and does not save the window state.