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

Events post-processor: consolidate events that "babble" #1546

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Apr 19, 2024

It seems possible to end up with events that bubble for some target interfaces but don't for other target interfaces, see discussion in: w3c/webref#1212

The post-processor already knew how to assign a bubbling flag per target interface because we make a distinction between interfaces that are in a bubbling tree and interfaces that are not.

However, the post-processor did not know how to consolidate an entry that appears duplicated in the events extract because the underlying event bubbles in one case but not in the other. This update makes it able to consolidate these events (which I call "babbling" events because, hey, it's Friday evening).

We still don't have post-processing tests but that seems to work fine on Webref data.

It seems possible to end up with events that bubble for some target interfaces
but don't for other target interfaces, see discussion in:
w3c/webref#1212

The post-processor already knew how to assign a bubbling flag per target
interface because we make a distinction between interfaces that are in a
bubbling tree and interfaces that are not.

However, the post-processor did not know how to consolidate an entry that
appears duplicated in the events extract because the underlying event bubbles
in one case but not in the other. This update makes it able to consolidate
these events (which I call "babbling" events because, hey, it's Friday
evening).

We still don't have post-processing tests but that seems to work fine on Webref
data.
@tidoust tidoust merged commit e7bcbdc into main Apr 19, 2024
1 check passed
@tidoust tidoust deleted the events branch April 19, 2024 16:38
tidoust added a commit that referenced this pull request Apr 19, 2024
New feature:
- Events post-processor: consolidate events that "babble" (#1546)
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

Successfully merging this pull request may close these issues.

2 participants