mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1224944 - Improve the comments in NavigatorLanguage interface, r=bz
This commit is contained in:
parent
e416737ae7
commit
bff87b648d
@ -54,8 +54,10 @@ interface NavigatorID {
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface NavigatorLanguage {
|
||||
|
||||
// These 2 values are cached. They are updated when pref
|
||||
// intl.accept_languages is changed.
|
||||
// These two attributes are cached because this interface is also implemented
|
||||
// by Workernavigator and this way we don't have to go back to the
|
||||
// main-thread from the worker thread anytime we need to retrieve them. They
|
||||
// are updated when pref intl.accept_languages is changed.
|
||||
|
||||
[Pure, Cached]
|
||||
readonly attribute DOMString? language;
|
||||
|
Loading…
Reference in New Issue
Block a user