> This hurts because Firefox should have been that embedded framework powering browsers like Brave and electron apps.
Years ago, Gecko had at least some support for being embedded within native applications.
This was apparently discontinued around 2011, though:
https://web.archive.org/web/20110403052816/http://www.h-onli...
https://web.archive.org/web/20210723183100/https://groups.go...
At that time, there were a number of browsers with native UIs that used Gecko, and software to help embed Gecko in other apps, such as:
Camino: https://en.wikipedia.org/wiki/Camino_(web_browser)
K-Meleon: https://en.wikipedia.org/wiki/K-Meleon
Galeon: https://en.wikipedia.org/wiki/Galeon
gtkmozembed: https://web.archive.org/web/20110505053545/http://www.mozill...
JavaXPCOM: https://web.archive.org/web/20100626110814/https://developer...
There was also XULRunner, too:
https://web.archive.org/web/20161201115812/https://developer...
Mozilla and Gecko had a staggering amount of potential back then, but it was squandered away, unfortunately.