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

Represent OS specific limitation in a machine-readable way #474

Closed
teoli2003 opened this issue Oct 5, 2017 · 3 comments
Closed

Represent OS specific limitation in a machine-readable way #474

teoli2003 opened this issue Oct 5, 2017 · 3 comments
Labels
schema Isses or pull requests regarding the JSON schema files used in this project.

Comments

@teoli2003
Copy link
Contributor

teoli2003 commented Oct 5, 2017

Some features do not work on all operating systems at the same time.
For example, WebVR has different support versions for Windows and macOS in Firefox.

For the moment, we use notes and multiple support versions, but we may want to store OS specific information in a more machine-readable way.

@teoli2003 teoli2003 added the schema Isses or pull requests regarding the JSON schema files used in this project. label Oct 5, 2017
@queengooborg
Copy link
Contributor

This is a pretty old issue, but it's one that I'm interested in seeing this implemented. I think that having an array of different support versions is the simplest way, with perhaps an os property added on that can be macos, windows, linux, ios, or android (am I missing any here?), or an array of them. If the property is undefined, then we assume that it's referring to all OSes.

If this is still something planned for implementation, does that sound reasonable?

@jpmedley
Copy link
Contributor

There's some complexity here that needs to documented to help the decision making. I'm just providing information. I make one editorial comment, but otherwise don't intend these as arguments either way.

  • It would be inconsistent to have desktop OSs in one structure and mobile OSs as separate entries as we have now for example with Android. Where would webviews go?
  • Addressing this would mean restructuring all existing BCD and rewriting the code that consumes it. Not something I'd recommend at this point.
  • Chrome generally does a very good job of maintaining feature parity between Mac, Linux, and Windows. Undefined equalling everything would support our edge cases better.

@queengooborg
Copy link
Contributor

Thinking back on this (and considering the age of this issue), I'd say keeping the data in notes is just fine. It's not too common for a feature to have differences between operating systems it seems (aside from desktop and mobile, which we already have separated into different browsers), and from what we've seen, putting this data in the notes seems sufficient enough.

I think we should simply close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Isses or pull requests regarding the JSON schema files used in this project.
Projects
None yet
Development

No branches or pull requests

3 participants