Question: how to fix xpcom in firefox?
Answer: Go to Firefox > Help > Troubleshooting Information.
Click the "Reset Firefox" button.
Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
Firefox will open with all factory defaults applied.