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

Specify a maximal depth of backtracking for RegExp #3166

Open
annevk opened this issue Sep 6, 2023 · 0 comments
Open

Specify a maximal depth of backtracking for RegExp #3166

annevk opened this issue Sep 6, 2023 · 0 comments
Labels
layering affects the public spec interface and may require updates to integrating specs needs consensus This needs committee consensus before it can be eligible to be merged.

Comments

@annevk
Copy link
Member

annevk commented Sep 6, 2023

JSC currently enforces a limit. Other engines don't, but their host does enforce a limit for <input type=pattern>. Consider defining this limit directly in ECMAScript instead.

If this limit is not defined directly in ECMAScript, we would still need a host hook for it, at least for <input type=pattern>, though potentially we could instead enforce it in HTML for the web platform in general.

See whatwg/html#9469 for context.

cc @schuay @mathiasbynens @vinhill @msaboff

@annevk annevk added needs consensus This needs committee consensus before it can be eligible to be merged. layering affects the public spec interface and may require updates to integrating specs labels Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
layering affects the public spec interface and may require updates to integrating specs needs consensus This needs committee consensus before it can be eligible to be merged.
Projects
None yet
Development

No branches or pull requests

1 participant