mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Added missing NavigatorId attributes
This commit is contained in:
parent
b3eed5b5bd
commit
4cfd62ac79
4 changed files with 45 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue