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

Proposal: Disallow DOM Mutation event listeners #35

Open
bathos opened this issue Jun 24, 2021 · 0 comments
Open

Proposal: Disallow DOM Mutation event listeners #35

bathos opened this issue Jun 24, 2021 · 0 comments

Comments

@bathos
Copy link

bathos commented Jun 24, 2021

I would like to be able to declare a policy that forbids the legacy DOM mutation event listeners:

https://w3c.github.io/uievents/#legacy-mutationevent-events

The main reason for this is to prevent browser extensions from adding them because they cause perf to tank. I’m not entirely sure that the way extension realms are implemented in Chromium honors the document policy, though, so this may not actually help in the browsers where it’s a problem.

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