Test case for issue 7401 (Debugger causes double submit)
https://code.google.com/p/fbug/issues/detail?id=7401