mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -32,30 +32,37 @@ impl WorkerNavigator {
|
|||
}
|
||||
|
||||
impl<'a> WorkerNavigatorMethods for &'a WorkerNavigator {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-product
|
||||
fn Product(self) -> DOMString {
|
||||
navigatorinfo::Product()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-taintenabled
|
||||
fn TaintEnabled(self) -> bool {
|
||||
navigatorinfo::TaintEnabled()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-appname
|
||||
fn AppName(self) -> DOMString {
|
||||
navigatorinfo::AppName()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-appcodename
|
||||
fn AppCodeName(self) -> DOMString {
|
||||
navigatorinfo::AppCodeName()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-platform
|
||||
fn Platform(self) -> DOMString {
|
||||
navigatorinfo::Platform()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-useragent
|
||||
fn UserAgent(self) -> DOMString {
|
||||
navigatorinfo::UserAgent()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-appversion
|
||||
fn AppVersion(self) -> DOMString {
|
||||
navigatorinfo::AppVersion()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue