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

Undocumented changes in Edge 16 #52

Closed
martinsuchan opened this issue Dec 13, 2017 · 1 comment
Closed

Undocumented changes in Edge 16 #52

martinsuchan opened this issue Dec 13, 2017 · 1 comment

Comments

@martinsuchan
Copy link

Wondering, if there is any plan to document currently undocumented changes in deprecated APIs between Edge 15 (15063) and Edge 16 (16299)?
We just discovered after days of debugging our web app that window.navigator.pointerEnabled returns true in Edge 15, but it returns undefined in Edge 16.
Details about this change are available here: aichi/Touchr#7

@libbymc
Copy link
Contributor

libbymc commented Dec 19, 2017

Hi - thanks for reporting this! Removing APIs are typically rare, but in general we (try to) document them. This one slipped past our radar as the schema of our IDL files (and diff tools) are currently in churn. We will add it to the EdgeHTML 16 page. The "pointerEnabled" property has been deprecated since IE11, which generally means that support may be removed at any time, so I guess its time had come.

As far as feature detection for pointer events, we recommend checking for window.PointerEvent or window.navigator.maxTouchPoints (checking it’s at least 2 to see if it’s a touch supported device). The only purpose of window.navigator.pointerEnabled was for feature detection and that became redundant with other ways to check for the feature - which is why it was never added to the official W3C spec.

@libbymc libbymc closed this as completed Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants