Bug 1224892 - Caching `oscpu' and `buildID' like other attributes related to User Agent. r=smaug

This commit is contained in:
Aidin Gharibnavaz 2015-12-15 21:05:05 +03:30
Родитель 7f1e8d6111
Коммит e62376eda9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -190,7 +190,7 @@ Navigator implements NavigatorMobileId;
// nsIDOMNavigator
partial interface Navigator {
[Throws]
[Throws, Constant, Cached]
readonly attribute DOMString oscpu;
// WebKit/Blink support this; Trident/Presto do not.
readonly attribute DOMString vendor;
@ -200,7 +200,7 @@ partial interface Navigator {
readonly attribute DOMString productSub;
// WebKit/Blink/Trident/Presto support this.
readonly attribute boolean cookieEnabled;
[Throws]
[Throws, Constant, Cached]
readonly attribute DOMString buildID;
[Throws, CheckAnyPermissions="power", UnsafeInPrerendering]
readonly attribute MozPowerManager mozPower;