Skip to content

Minimal changes to improve Event compatibility - #162

Merged
dumbmatter merged 3 commits into
dumbmatter:masterfrom
nolanlawson:minimal-event-changes
Oct 19, 2025
Merged

dumbmatter merged 3 commits into
dumbmatter:masterfrom
nolanlawson:minimal-event-changes

Conversation

@nolanlawson

Copy link
Copy Markdown
Contributor

I didn't manage to fix #140, but as part of my work, I did realize that we don't support the { handleEvent } format for event listeners, nor do we handle {capture: true|false} in the options argument. (Nor is this covered in the WPTs.) This fixes that and adds some tests.

@dumbmatter

Copy link
Copy Markdown
Owner

TIL handleEvent exists!

@dumbmatter
dumbmatter merged commit 8d244c5 into dumbmatter:master Oct 19, 2025
4 checks passed
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.

Use native Event/EventTarget

2 participants