Yeah I'm of the mind that most browser innovation has been adding APIs for app development. If all that stuff was split off from the browser and left to electron apps then it would be far less attack surface for exploits.
I love the web as an application platform too. However I don't believe it's right to continually hang all of the complexity of a application runtime on what should be a relatively simple client for things that people actually use it for such as forums, watching videos and reading articles. The costs are just too high.