mozmill 2.0 on windows give the following error: "IO Completion Port unexpectedly closed" when using > controller.restartApplication() Will have a testcase shortly.
Created attachment 749728 [details] testcase This shows the error reported (but no disconnect). Trying to see if this actually leads to a Disconnect Error and if so what factors trigger it.
Sounds like NSPR is involved here. So for which of those restartApplication() calls does it happen? For all of them?
(In reply to Andrei Eftimie from comment #0) > mozmill 2.0 on windows give the following error: > "IO Completion Port unexpectedly closed" > when using > > controller.restartApplication() > > Will have a testcase shortly. The underlying mozprocess code is printing that error, which isn't really an error if we shutdown the application when the underlying code didn't expect it. So in other words, this might be expected when doing restartApplication.  https://github.com/mozilla/mozbase/blob/master/mozprocess/mozprocess/processhandler.py#L323
Actually this is a dupe of bug 865690.