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

Warn if URLSearchParams has() or delete() are called with multiple args #635

Merged
merged 3 commits into from
May 12, 2023

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 10, 2023

In preparation for landing support for the new value arguments added recently to URLSearchParams.has() and delete(), we need to know if adding the new arguments will break any existing workers. This commit adds a warning.

Refs: whatwg/url#735

@jasnell jasnell requested review from kentonv, mikea and ohodson May 10, 2023 21:42
jasnell added 2 commits May 11, 2023 15:29
In preparation for landing support for the new value arguments added
recently to URLSearchParams.has() and delete(), we need to know if
adding the new arguments will break any existing workers. This commit
adds a warning.

Refs: whatwg/url#735
@jasnell jasnell force-pushed the jsnell/prep-for-urlsearchparams-new-args branch from a97a740 to 9e3ff32 Compare May 11, 2023 22:29
src/workerd/util/sentry.h Outdated Show resolved Hide resolved
@jasnell jasnell merged commit 497fe0c into main May 12, 2023
@jasnell jasnell deleted the jsnell/prep-for-urlsearchparams-new-args branch May 12, 2023 21:11
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

Successfully merging this pull request may close these issues.

3 participants