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
|
// 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user