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

Add test for event handler content attribute handling for false positive event handler attributes #573

Open
lukewarlow opened this issue Jan 13, 2025 · 0 comments

Comments

@lukewarlow
Copy link
Member

See #520 for discussion on the loose spec definition for event handler attribute handling.

We should add a WPT that tests for attributes that follow the correct pattern of an event handler content attribute, but actually aren't. onreadystatechange is an IDL property related to XHR, this is currently protected by Trusted Types in Chromium, Firefox and as of WebKit/WebKit@4d3260a in WebKit.

As part of review feedback on the WebKit PR it was raised that WPT should probably test against this behaviour, such that we can fix it in future once we decide on the final spec behaviour (and fix implementations as appropriate).

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