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

Backcompat mode #13

Open
darobin opened this issue Jun 6, 2012 · 0 comments
Open

Backcompat mode #13

darobin opened this issue Jun 6, 2012 · 0 comments

Comments

@darobin
Copy link
Owner

darobin commented Jun 6, 2012

The code now needs to be updated to add a few things from WebIDL that are missing, but the question of what to do with old constructs needs to be handled.

My proposal is this: keep them around, but for each of those when they are processed make a call to checkCompatMode(). If compatibility has been set, then accept the old constructs, otherwise die with a syntax error.

This is useful because it will make it possible to parse older specifications, warn, etc.

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

1 participant