pub trait WorkerNavigatorMethods<D: DomTypes> {
Show 16 methods
// Required methods
fn Permissions(&self) -> DomRoot<D::Permissions>;
fn HardwareConcurrency(&self) -> u64;
fn Gpu(&self) -> DomRoot<D::GPU>;
fn AppCodeName(&self) -> DOMString;
fn AppName(&self) -> DOMString;
fn AppVersion(&self) -> DOMString;
fn Platform(&self) -> DOMString;
fn Product(&self) -> DOMString;
fn ProductSub(&self) -> DOMString;
fn TaintEnabled(&self) -> bool;
fn UserAgent(&self) -> DOMString;
fn Vendor(&self) -> DOMString;
fn VendorSub(&self) -> DOMString;
fn Language(&self) -> DOMString;
fn Languages(
&self,
cx: SafeJSContext,
_can_gc: CanGc,
retval: MutableHandleValue<'_>,
);
fn OnLine(&self) -> bool;
}