FF91 Window.clientInformation as alias for .navigator #11690
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
window.clientInformation
is an alias ofWindow.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 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).
This PR simply adds the alias information as a new version with
"alternative_name": "clientInformation"
for Firefox.true
by default. Do I need to add a flag for it in this case (I have assumed not).As per the notes, Chromium based browsers (Opera, Chrome, Edge etc.) and Safari supported this even though non-spec since Feb 2017. However I have no idea of what versions this would have been added. How would you like to handle this? Can you help find versions, or could we assume that for those platforms the alternative name as been there since day 1 (just add a new version for chrome etc with the same release number and the alterative name)?
FYI, this is one of the items linked in #7585