Afaik the problem is the lack of embedding API in the Firefox core, so they have to adapt their patches every time they need to update Firefox version.
This is also why you see Chome being used as a core in all kinds of applications and frameworks - AFAIK it has the necessary API for this.