зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1224892 - Caching `oscpu' and `buildID' like other attributes related to User Agent. r=smaug
This commit is contained in:
Родитель
7f1e8d6111
Коммит
e62376eda9
|
@ -190,7 +190,7 @@ Navigator implements NavigatorMobileId;
|
||||||
|
|
||||||
// nsIDOMNavigator
|
// nsIDOMNavigator
|
||||||
partial interface Navigator {
|
partial interface Navigator {
|
||||||
[Throws]
|
[Throws, Constant, Cached]
|
||||||
readonly attribute DOMString oscpu;
|
readonly attribute DOMString oscpu;
|
||||||
// WebKit/Blink support this; Trident/Presto do not.
|
// WebKit/Blink support this; Trident/Presto do not.
|
||||||
readonly attribute DOMString vendor;
|
readonly attribute DOMString vendor;
|
||||||
|
@ -200,7 +200,7 @@ partial interface Navigator {
|
||||||
readonly attribute DOMString productSub;
|
readonly attribute DOMString productSub;
|
||||||
// WebKit/Blink/Trident/Presto support this.
|
// WebKit/Blink/Trident/Presto support this.
|
||||||
readonly attribute boolean cookieEnabled;
|
readonly attribute boolean cookieEnabled;
|
||||||
[Throws]
|
[Throws, Constant, Cached]
|
||||||
readonly attribute DOMString buildID;
|
readonly attribute DOMString buildID;
|
||||||
[Throws, CheckAnyPermissions="power", UnsafeInPrerendering]
|
[Throws, CheckAnyPermissions="power", UnsafeInPrerendering]
|
||||||
readonly attribute MozPowerManager mozPower;
|
readonly attribute MozPowerManager mozPower;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче