I haven't used electron, but in 2007 xulrunner was such a pain in the ass to write code for it wasn't worth the effort for anything where you didn't absolutely need an embedded browser, and even then there were better options.
Documentation was poor or non-existent and IIRC the API was based on the half-baked XPCOM because COM and CORBA were all the rage at the time it was created.
Documentation was poor or non-existent and IIRC the API was based on the half-baked XPCOM because COM and CORBA were all the rage at the time it was created.