Trait WorkerNavigatorMethods
Source pub trait WorkerNavigatorMethods<D: DomTypes> {
Show 17 methods
// Required methods
fn Permissions(&self, cx: &mut JSContext) -> DomRoot<D::Permissions>;
fn HardwareConcurrency(&self) -> u64;
fn Gpu(&self, cx: &mut JSContext) -> 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: &mut JSContext, retval: MutableHandle<'_, Value>);
fn OnLine(&self) -> bool;
fn Storage(&self, cx: &mut JSContext) -> DomRoot<D::StorageManager>;
}