The large majority of Firefox OS is written in C and C++. The Linux kernel it uses isn't web-based. Firefox itself isn't web-based.
Mozilla are good people, but it's really obvious why they would want to encourage people to make web apps instead of native apps. There is still a ton of software that can't be web-based.