-
Notifications
You must be signed in to change notification settings - Fork 27
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
Isn't this API a privacy issue? #63
Comments
In what sense? The API doesn't provide any information about the device so I don't think it can be used for fingerprinting. The only new capability is that the website could detect which part of the page a user zooms into but I'm not sure that's really significant. Am I misunderstanding? |
It is meant to provide info about screen keyboards height on mobile devices. It can be used to identify keyboard. Some keyboards have it adjustable, so it can give even more information. |
I guess that would depend on the implementation but, at least as it currently works on Chrome, it doesn't. The keyboard actually resizes the page so that information was already available in window.innerHeight. Chrome did have plans to make the keyboard resize only the visual viewport - that never happened. But even in that case, this wouldn't be providing any new information that the platform wasn't already providing. Not opposed to adding a note to implementors about this in the spec though. |
Could you elaborate what else API can be used to capture that info? |
On Android Chrome today, if you open the keyboard on a page today, you'll get a resize event [addEventListener('resize', ...)]. At that point the window.innerHeight will shrink by the size of the keyboard. So you can use innerHeight to detect the height of the keyboard already. |
Thank you for the info, definitely need to test if this is the case for Firefox with |
In Firefox there is a anti-fingerprinting mechanism called letterboxing, which restricts the viewport to stepped sizes: height would typically be in 100px steps. This would "bucketize" all keyboard heights into a very few Edit: |
The important thing is how exactly is it going to be bucketed. There are 3 options, all are bad.
So, IMHO the best action here is to abolish this spec and not to implement it at all. |
@Thorin-Oakenpants do you have a bug reference on bugzilla for this. |
I found this one https://bugzilla.mozilla.org/show_bug.cgi?id=1407366 |
I guess the standard should prescribe the mitigations, even if they are obvious.
The text was updated successfully, but these errors were encountered: