Expand checks run by Web IDL study tool #331
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This expands the Web IDL study tool to run additional checks:
These checks match (or should match :)) those performed in Webref already.
Reported anomaly objects could be further improved, e.g. to provide a more complete reference to the problematic IDL when it is at the attribute or parameter level and not at the definition level. To be done over time when we start submitting actual anomaly reports!
This would for example be useful in the case where an interface definition "Foo" defines 5
bool
attributes (instead ofboolean
). The tool will currently report 5 anomalies, all saying that the interface "Foo" references unknown typebool
.Still missing: