-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Milestone
Description
Afaik the current plan for the sanitizer API is that there would be a list of all known attributes and from that you'd subtract an underlying blocklist of unsafe attributes, event handlers are tricky because there's lots of them. If we have a list of event handlers to remove it would be useful if it was defined separately from other attributes so that the trusted types specification could piggy back off of it.
Having said that all current ones follow the on*
pattern, should we just carve out on*
attributes as being unsafe and block them all? I'm no perf specialist but I imagine that would be faster to process (both WebKit and Chromium already have some paths that do the on prefix check for example).
Sora2455
Metadata
Metadata
Assignees
Labels
No labels