Hey Andreu, Can you give an example of what the code looks like that calls the methods with a second argument?
Best regards, Philip On Fri, May 12, 2023 at 8:51 PM Andreu Botella <abote...@igalia.com> wrote: > jornalmassa.com.br doesn't seem to be calling these methods with two > arguments, at least in my testing. The rest of sites do occasionally > (sometimes with the second argument being 0, sometimes a different > number, sometimes a string), but none seemed to break in my testing. > > Andreu > On 5/12/23 10:38, Philip Jägenstedt wrote: > > It looks like this was spec'd in https://github.com/whatwg/url/pull/735, > with participation from Chromium and WebKit folks. > https://bugzilla.mozilla.org/show_bug.cgi?id=1831587 was filed for Gecko, > but there's no clear position. Would you mind filing an issue at > https://github.com/mozilla/standards-positions/issues/new to ensure > Mozilla is aware this happening? > > https://chromestatus.com/metrics/feature/timeline/popularity/4478 is > pretty low, but was any analysis done of sites that reach this use counter? > It's honestly higher usage than I'd expect for an argument that didn't do > anything before, so likely the value passed doesn't make sense and will > result in the parameter not being deleted for delete(), which could be a > problem. What can you say about usage in the wild here? > > +Andreu Botella <abote...@igalia.com> > > On Fri, May 12, 2023 at 9:30 AM Debadree Chatterjee <debadree...@gmail.com> > wrote: > >> Contact emails debadree...@gmail.com >> >> Explainer None >> >> Specification https://url.spec.whatwg.org/#dom-urlsearchparams-has >> >> Summary >> >> This feature adds the ability to pass a `value` argument to >> URLSearchParams's has() and delete() methods which allow for deleting >> tuples stored in URLSearchParams either by the `name` parameter or by the >> combination of `name` and `value` >> >> >> Blink component Blink >> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink> >> >> TAG review None >> >> TAG review status Not applicable >> >> Risks >> >> >> Interoperability and Compatibility Compatibility with existing websites >> were tested by means of a Counter in chromium, ref: >> https://github.com/whatwg/url/pull/735#issuecomment-1441503315 and no >> significant chances of breaking were found >> >> *Gecko*: No signal >> >> *WebKit*: No signal >> >> *Web developers*: Has Shipped ( >> https://github.com/WebKit/WebKit/pull/13500) >> >> *Other signals*: >> >> WebView application risks >> >> Does this intent deprecate or change behavior of existing APIs, such that >> it has potentially high risk for Android WebView-based applications? >> >> None expected >> >> >> Debuggability None >> >> Will this feature be supported on all six Blink platforms (Windows, Mac, >> Linux, Chrome OS, Android, and Android WebView)? >> Yes >> >> Is this feature fully tested by web-platform-tests >> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> >> ? >> Yes >> >> Flag name >> >> Requires code in //chrome? False >> >> Tracking bug >> https://bugs.chromium.org/p/chromium/issues/detail?id=1442916 >> >> Estimated milestones >> >> No milestones specified >> >> >> Anticipated spec changes >> >> Open questions about a feature may be a source of future web compat or >> interop issues. Please list open issues (e.g. links to known github issues >> in the project for the feature specification) whose resolution may >> introduce web compat/interop risk (e.g., changing to naming or structure of >> the API in a non-backward-compatible way). >> None Expected >> >> Link to entry on the Chrome Platform Status >> https://chromestatus.com/feature/5147732899004416 >> >> Links to previous Intent discussions Intent to prototype: >> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CFBE060E-9D1C-4B8D-A4FB-B0279D73E6F4%40gmail.com >> >> This intent message was generated by Chrome Platform Status >> <https://chromestatus.com/>. >> -- >> You received this message because you are subscribed to the Google Groups >> "blink-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to blink-dev+unsubscr...@chromium.org. >> To view this discussion on the web visit >> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/A73025EA-70D7-4818-9CFF-AE14B48875F0%40gmail.com >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/A73025EA-70D7-4818-9CFF-AE14B48875F0%40gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcgT4HVYsB3tsDEpA%2B4-niBhZv5Op-ztxCi-Ae9mdAzdQ%40mail.gmail.com.