diff options
Diffstat (limited to 'components/script/dom/workernavigator.rs')
-rw-r--r-- | components/script/dom/workernavigator.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/script/dom/workernavigator.rs b/components/script/dom/workernavigator.rs index 9753c85c3bc..6c4867eda9d 100644 --- a/components/script/dom/workernavigator.rs +++ b/components/script/dom/workernavigator.rs @@ -42,6 +42,21 @@ impl WorkerNavigatorMethods for WorkerNavigator { navigatorinfo::Product() } + // https://html.spec.whatwg.org/multipage/#dom-navigator-productsub + fn ProductSub(&self) -> DOMString { + navigatorinfo::ProductSub() + } + + // https://html.spec.whatwg.org/multipage/#dom-navigator-vendor + fn Vendor(&self) -> DOMString { + navigatorinfo::Vendor() + } + + // https://html.spec.whatwg.org/multipage/#dom-navigator-vendorsub + fn VendorSub(&self) -> DOMString { + navigatorinfo::VendorSub() + } + // https://html.spec.whatwg.org/multipage/#dom-navigator-taintenabled fn TaintEnabled(&self) -> bool { navigatorinfo::TaintEnabled() |