by nateb2022 · 3y ago · 0 comments
> with the same OS integration as Chrome?
This, however, would require a lot of changes in chromeOS itself that Google won't do. It would be possible in a fork of chromeOS, though that would be a lot of work and would involve adding several APIs to Firefox that chromeOS relies on.
> This, however, would require a lot of changes in chromeOS itself that Google won't do
Lacros is exactly those changes, though. That's my point. Google already did the work to add all the integration points you need to integrate a browser into the OS.
Lacros doesn't give Firefox the APIs that ChromeOS utilizes from Chrome that Firefox lacks. E.g. web battery API, web bluetooth API, web USB API, etc. These are the changes I'm referring to. That's my point. That's what I mean when I said:
> [this] would involve adding several APIs to Firefox that chromeOS relies on.
FirefoxOS/KaiOS, however, is targeted only for feature phones, and therefore, resource-constrained systems. I did enjoy one such phone, and it had a fairly decent browser, though I can't say that it had any Firefox-like features that I could identify, because it was so incredibly minimal.
To anyone who has never had the misfortune of using a Chromebook: this stuff works terribly. Don't listen to anyone telling you otherwise.
(I think it's actually a container rather than a virtual machine.)
> crosvm is a custom virtual machine monitor that takes care of managing KVM, the guest VM, and facilitating the low-level (virtio-based) communication.
However the actual application is run within a container inside that VM - if I understand correctly.
https://chromium.googlesource.com/chromiumos/docs/+/HEAD/con...
literally the entire linked article is about them doing this work
Lacros doesn't give Firefox the APIs that ChromeOS utilizes from Chrome that Firefox lacks. E.g. web battery API, web bluetooth API, web USB API, etc. These are the changes I'm referring to. That's my point. That's what I mean when I said:
> [this] would involve adding several APIs to Firefox that chromeOS relies on.
True, but what about running Firefox natively, without the sandbox?
Sandbox doesn’t mean non native, Chrome itself is arguably running in a sandbox.