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
FF89: Removal of events docs for DeviceLightEvent, DeviceProximityEvent, UserProximityEvent #4515
Conversation
@@ -3,22 +3,28 @@ | |||
slug: Web/API/Ambient_Light_Events | |||
tags: | |||
- Ambient Light | |||
- Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chrisdavidmills FYI, this is here because the tag is what gives you the icons in the lists here https://developer.mozilla.org/en-US/docs/Web/API
We probably should get this ultimately from BCD too. In the meantime some cleanup required at some point to make these match the docs, and the BCD.
Preview URLs
FlawsNote! 2 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
External URLsURL:
URL:
URL:
URL:
URL: No external URLsURL: No external URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks pretty reasonable to me.
Docs work for #4308
The DeviceLightEvent, DeviceProximityEvent, UserProximityEvent events (and associated handlers) in window are removed in FF89, which was the last implementer of these APIs. This is primarily a privacy issue as discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1701824#c5
What this does remove the handler docs and all the event attribute docs. The remaining docs are then just the parent API and the event itself (which is what is linked). These remaining docs have the deprecated header, and a warning that they should not be used. Essentially there is still "just" enough docs to indicate how they are used and that they exist, but a lot of discouragement from doing so, and removal of these would be very trivial.