You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this is not a class with a useful constructor, data, and behavior packaged together, but instead a simple holder for data, it would be better as a dictionary.
The text was updated successfully, but these errors were encountered:
We've reached the conclusion that it might be better off to remove the Promise from getUserAgent()'s return value, and add it on single attributes. I believe that design is not possible with a dictionary, so we would need to properly define the getters.
#48 is the PR in which we're moving the promises.
There may be work left after it though (e.g. explicitly setting the getters on the read only attributes)
yoavweiss
changed the title
interface NavigatorUAData should be a dictionary
Define getters for read-only attributes (Was: interface NavigatorUAData should be a dictionary)
Jan 27, 2020
As this is not a class with a useful constructor, data, and behavior packaged together, but instead a simple holder for data, it would be better as a dictionary.
The text was updated successfully, but these errors were encountered: