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: improve EventListener validation #43491

Merged
merged 1 commit into from
Jun 29, 2022

Commits on Jun 19, 2022

  1. events: improve EventListener validation

    This fixes validating `EventListener` given to `add/removeEventListener`
    to improve the Web API compatibility.
    
    According to the WPT test failure with the current validation,
    `addEventListener` should not require `handleEvent` to be defined on
    an `EventListener`".  IIUC, the same can be applied to
    `removeEventListener` also.
    
    Signed-off-by: Daeyeon Jeong [email protected]
    daeyeon committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    0749e27 View commit details
    Browse the repository at this point in the history