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

Add informative section on legacy constructs #506

Merged
merged 3 commits into from
Jan 4, 2018

Conversation

tobie
Copy link
Collaborator

@tobie tobie commented Jan 4, 2018

I often see confusion about deprecation and legacy constructs. For example: KhronosGroup/WebGL#2566 (comment). I was also very confused by this when I started working on WebIDL.

This is an attempt at clarifying this. I'm not sure whether all advisements should just link to this section, be completely replaced by a link to it, or should simply co-exist as in this current PR. Thoughts welcomed.


Preview | Diff

index.bs Outdated
by <a href="https://github.com/heycam/webidl/issues/new?title=Intent%20to%20use%20a%20legacy%20WebIDL%20construct">filing an issue</a>
before proceeding.

Legacy WebIDL constructs are not deprecated unless they are specifically marked as such.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this paragraph is helpful because we don't have any notion of "deprecated" on the web platform. So this is just confusing.

If you want to talk about "removal" that's a separate story.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point.

index.bs Outdated
before proceeding.

Marking a construct as legacy does not, in itself,
imply that it is about to be removed form this specification.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/form/from

@tobie tobie merged commit 1244c86 into whatwg:master Jan 4, 2018
@tobie tobie deleted the legacy-warning branch January 4, 2018 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants