aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/navigator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/navigator.rs')
-rw-r--r--components/script/dom/navigator.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/script/dom/navigator.rs b/components/script/dom/navigator.rs
index d4666ba2aa6..8a5524b437b 100644
--- a/components/script/dom/navigator.rs
+++ b/components/script/dom/navigator.rs
@@ -66,6 +66,21 @@ impl NavigatorMethods for Navigator {
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()