summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_main_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add Recycle() method to scoped autorelease pool to allow cleaning out any junkpinkerton@chromium.org2009-02-091-2/+1
| | | | | | | | created at startup before the main runloop. Correct quit on Mac to let the BrowserProcess shut down the event loop when its refcount goes to zero after cleaning up all browser windows. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9386 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Renderer Crash on OS X + update unit test.jeremy@chromium.org2009-02-061-8/+1
| | | | | | | | | | | | | | The problem was that the process shutdown_event_ was created in RenderProcess::GlobalInit() and then deleted in RenderProcess::GlobalCleanup() and was being accessed after it's deletion by the MessageLoop's destructor (which was trying to signal shutdown). MessageLoop was still retaining a reference to it since there was still an IPCSyncChannel listening on it. IPCSyncChannel hadn't stopped listening on it since it was being terminated via OnChannelError. This fix adds code that terminates listening on a channel when a Channel error occurs. Review URL: http://codereview.chromium.org/20114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9295 0039d316-1c4b-4281-b951-d872f2087c98
* Some fixes to ease debugging of the renderer process on OS X.jeremy@chromium.org2009-02-051-3/+4
| | | | | | Review URL: http://codereview.chromium.org/21084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9225 0039d316-1c4b-4281-b951-d872f2087c98
* Add a very simple test for renderer_main, in the interests of bringup.jeremy@chromium.org2009-02-041-0/+113
Also bring up ipc_sync_channel_unittest on OS X. Review URL: http://codereview.chromium.org/21060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9184 0039d316-1c4b-4281-b951-d872f2087c98