pub trait NavigatorMethods<D: DomTypes> {
Show 29 methods
// Required methods
fn Bluetooth(&self) -> DomRoot<D::Bluetooth>;
fn Servo(&self) -> DomRoot<D::ServoInternals>;
fn ServiceWorker(&self) -> DomRoot<D::ServiceWorkerContainer>;
fn Permissions(&self) -> DomRoot<D::Permissions>;
fn GetGamepads(&self) -> Vec<Option<DomRoot<D::Gamepad>>>;
fn Clipboard(&self) -> DomRoot<D::Clipboard>;
fn SendBeacon(
&self,
url: USVString,
data: Option<ReadableStreamOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrStringOrURLSearchParams<D>>,
_can_gc: CanGc,
) -> Fallible<bool>;
fn MediaDevices(&self) -> DomRoot<D::MediaDevices>;
fn Xr(&self) -> DomRoot<D::XRSystem>;
fn MediaSession(&self) -> DomRoot<D::MediaSession>;
fn HardwareConcurrency(&self) -> u64;
fn CookieEnabled(&self) -> bool;
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;
fn Plugins(&self) -> DomRoot<D::PluginArray>;
fn MimeTypes(&self) -> DomRoot<D::MimeTypeArray>;
fn JavaEnabled(&self) -> bool;
}