is_browser_vm

Function is_browser_vm 

Source
pub fn is_browser_vm() -> bool
Expand description

Is this a workspace UI running in any VM instance in a browser? (v86, or potentially later other VMs.) Don’t rely on these VM-related methods to check the bit width, the OS, or the display server. It is useful for telling what UI constraints (e.g. available keys - browsers capture some keys) we’re working with. TODO STUB