-
Notifications
You must be signed in to change notification settings - Fork 12
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
Clarify what to do when some badging mode is not supported #102
Comments
In the WebKit issue, it was proposed that perhaps the number "1" could be used as a fallback for "flag" on systems where flag is not supported. However, it was noted that the semantics of "flag" and, say, using the number "1" as a fallback are different enough that that wouldn't make sense (or could be confusing to users). In the case where either flag or number are not supported, then it might be prudent to throw a Of course, the risk is that authors themselves try/catch for the Thoughts? |
Some vaguely related discussions from the explainer: FWIW, adding a |
Sure, thought we might need to take the compat hit as the point of standardization is to make improvements to this early API based on implementation and deployment experience. At this early stage of standardization (we haven't even published a FPWD yet) we should expect to be making a lot of breaking changes. We should only really expect the API to stabilize once it hits Candidate Recommendation. |
This issue come up in WebKit.
It might be helpful to provide some guidance for what to do when a particular mode is not supported by the OS or user agent.
For example:
It should also provide some guidance as to what happens when, say, number is supported and shown, but "flag" passed.
The text was updated successfully, but these errors were encountered: