-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract information on cancelability of events (#1534)
* Extract information on cancelability of events * Adapt schema and test suite * Also add `cancelable` to the schema of the events post-processor The `cancelable` property is copied as-is by the post-processor, which should be what we want. * Events extraction: report `cancelable` mismatches to log In theory, specs could set or unset the `cancelable` property of a given event differently whenever they fire the event. In practice, the cancelability of an event does not depend on the firing conditions. In other words, whenever a spec fires a given event, its `cancelable` property should always be the same. That assumption seems true today. To ease debugging in case that changes in the future, this update makes the extraction code report an error to the log when it bumps into discrepancies for the `cancelable` property. (Of course, ideally, we would have a better mechanism to report such extraction problems than hiding them in the log...)
- Loading branch information
1 parent
2a37ea2
commit 650506d
Showing
4 changed files
with
70 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters