Created attachment 252386 [details] [diff] [review] patch When running any of the Java tests from bug 350886 that call |Mozilla.initXPCOM()|, test crashes when trying to access the directory service provider. The issue was that I was deleting the provided service provider immediately after calling |NS_InitXPCOM2()| (how did this code ever work?). Fixed that code to properly use an nsCOMPtr. Also fixed a related issue in |Mozilla.shutdownXPCOM()|. Patch attached.
Checked in to trunk. -> FIXED
Comment on attachment 252386 [details] [diff] [review] patch Asking for 126.96.36.199 approval. Fix for crasher. XULRunner only.
Comment on attachment 252386 [details] [diff] [review] patch approved for 188.8.131.52, a=dveditz for release-drivers
Checked in to MOZILLA_1_8_BRANCH.
Javier: If you have verified this fix with the latest 184.108.40.206 rc builds, can you update the keywords with "verified1.8.14"? Thanks!