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

DBW: improvements to event listener audits #858

Closed
2 tasks done
ebidel opened this issue Oct 31, 2016 · 0 comments
Closed
2 tasks done

DBW: improvements to event listener audits #858

ebidel opened this issue Oct 31, 2016 · 0 comments
Assignees

Comments

@ebidel
Copy link
Contributor

ebidel commented Oct 31, 2016

#830 added an audit to catch non-passive event listeners at the page level ( on document, window, and document.body).

We should expand this audit to look for non-passive listeners on other parts of the app. For example, users use touch events on other parts of the DOM (large scrollable regions of the page). These would also benefit from the perf boost.

Chrome is also considering a browser intervention for making all document-level listeners passive by default. That would make the current audit less useful.

  • audit passive listeners on other parts of the DOM
  • audit mutation events on other parts of the DOM
@ebidel ebidel changed the title DBW: improvements to passive event listener audit DBW: improvements to event listener audits Nov 1, 2016
@ebidel ebidel self-assigned this Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant