diff options
author | Bogdan Cuza <bogdan.cuza@hotmail.com> | 2015-07-21 18:53:01 +0300 |
---|---|---|
committer | Bogdan <boghison22@gmail.com> | 2015-07-28 13:28:41 +0200 |
commit | 233a769c67738942a0ac47c15465e36891883c3b (patch) | |
tree | f271b64c29addb4826feb098a03a0c6ce07eb4b3 /components/script/dom/navigator.rs | |
parent | f039827dcd618d1731f9cc0d91202690c28f10d1 (diff) | |
download | servo-233a769c67738942a0ac47c15465e36891883c3b.tar.gz servo-233a769c67738942a0ac47c15465e36891883c3b.zip |
Add spec links
Diffstat (limited to 'components/script/dom/navigator.rs')
-rw-r--r-- | components/script/dom/navigator.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/script/dom/navigator.rs b/components/script/dom/navigator.rs index 1fa30b66b04..825ccfdf2e5 100644 --- a/components/script/dom/navigator.rs +++ b/components/script/dom/navigator.rs @@ -31,30 +31,37 @@ impl Navigator { } impl<'a> NavigatorMethods for &'a Navigator { + // 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() } |