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

Window.clientInformation - missing alias for Window.navigator #11689

Closed
hamishwillee opened this issue Jul 23, 2021 · 1 comment
Closed

Window.clientInformation - missing alias for Window.navigator #11689

hamishwillee opened this issue Jul 23, 2021 · 1 comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@hamishwillee
Copy link
Collaborator

hamishwillee commented Jul 23, 2021

window.clientInformation is an alias of Window.navigator.

Historically this was non-spec but was present in Chrome (and others using same engine) and also Safari (since at least Feb 2017 according to whatwg/html#2379).
It was added to the spec here as a "legacy alias" in this PR,
FF91 just added it as an alias in https://bugzilla.mozilla.org/show_bug.cgi?id=1717072. It is default enabled (but there is a preference to allow it to be disabled easily if needed).

The question is, how is such a thing added to BCD?

I "think" I have to add this following the model of Window.scrollX which defines an alternative_name. I'll try that.

FYI, this is one of the items linked in #7585

@hamishwillee
Copy link
Collaborator Author

Closing this. Exploring it in basic PR #11690

@queengooborg queengooborg added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

No branches or pull requests

2 participants