mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224892 - Caching oscpu' and
buildID' like other attributes related to User Agent. r=smaug
This commit is contained in:
parent
a8065c91a7
commit
b07cce927c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user