Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose userAgentData in Workers #80

Merged
merged 2 commits into from
Mar 13, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ dictionary UADataValues {
DOMString model;
};

[Exposed=Window]
interface NavigatorUAData {
yoavweiss marked this conversation as resolved.
Show resolved Hide resolved
readonly attribute FrozenArray<NavigatorUABrandVersion> uaList;
readonly attribute boolean mobile;
Expand All @@ -340,7 +339,9 @@ interface NavigatorUAData {
interface mixin NavigatorUA {
[SecureContext] readonly attribute NavigatorUAData userAgentData;
};

Navigator includes NavigatorUA;
WorkerNavigator includes NavigatorUA;

</pre>

Expand Down