-
Notifications
You must be signed in to change notification settings - Fork 17
WebCompat regressions with group
#44
Comments
I think if this is unique to last pass, we may be able to have them update. However, given how hard it was to catch, this might be failing silently elsewhere? I wonder if we need to have a usage counter for this before moving forward with shipping? |
Any idea what code on LastPass is breaking with this? |
@codehag Was https://bugzilla.mozilla.org/show_bug.cgi?id=1791415#c14 actually confirmed to fix the issue? |
Looks like not yet, still waiting on the full picture. |
We have a second regression that appears to be related to this proposal: https://bugzilla.mozilla.org/show_bug.cgi?id=1799522 / webcompat/web-bugs#112923 |
And a third, unfortunately: webcompat/web-bugs#112552 -- also tested and confirmed on chrome canary. |
group
group
In light of these discovered incompatibilities Chrome will no longer be shipping this proposal in 108. |
I haven't tested the proposed removal but |
Since LastPass isn't the only regression I doubt it matters to much but some additional information. I regularly use LastPass with the same account in Chrome unstable and haven't run into the same problem. I can confirm the other regressions from this issue on that browser so the so probably a frustrating variation between the Chrome and Firefox extension provided by LastPass. |
Maybe, it might be possible to rename |
I’m not familiar with any such word “assort” - that may not be an intuitive option. |
That's what I found in dictionary for |
As an option might be |
Any name that doesn't have "group" in it is going to hurt discoverability. If we are throwing around rename suggestions already, my choice would be |
I hope that it will be possible to save the current name and fix it in affected places. Otherwise, |
I guess this is where we're bikeshedding backup names. My vote is for |
I am categorically against |
@bakkot what is "partition", then? |
|
|
I'm sure this has been covered elsewhere (and please feel free to point me to prior recorded discussions — I'd love to get historical context!), but why do we allow these kinds of compat issues to prevent progress? Specifically, when there's a possibility of breakage which might be caused by mutation of built-ins or the global namespace, etc. (things that are provided by the runtime environment — not owned by the application code): isn't breakage always a risk to each party that chooses to do that and fully its responsibility in every case? |
@jsejcksn no, because there's users and devs, and the users are the ones who get hurt, and only the devs can fix it. Breaking users through no fault of their own or that of the devs is not an acceptable tradeoff for any language feature. |
@jsejcksn Here's a good writeup of why "don't break the web" is sacrosanct. |
@bakkot Thanks for the link! @ljharb I share that empathy for users — even as developers, we are all users and none of us wants a bad experience. However, isn't this actually a case of (inconsiderate) devs who are breaking the web? Nothing that's been proposed would cause a break in backward compatibility of existing standards/APIs. There will always be devs (or product owners, etc. — the "code-owning decision makers") who eschew social responsibility and always users who suffer by those devs' choices. Where do we draw the line? |
@jsejcksn we draw the line, as always, at "no breakage". Slippery slope arguments don't change that. |
What I meant by "Where do we draw the line?" was: Every built-in is being mutated by some site out there, and its users would be affected by any new name chosen for this API (no matter the name). Maybe it's just one student's sandbox app — or one community forum site for a very small group. What is the objective measure that we've determined to be the threshold? Is it one site? Is it 100? Is it 1% according to some index created by a single crawler? How do we define what "no breakage" means? |
I don't think there is any objective measure - I think each browser just makes a judgement call. |
We are getting a bit off topic, I think @bakkot gave a good answer to the question. Please feel free to ask for more clarification in the matrix channel for tc39-general! |
Any hope, any updates? 🤔 |
@bricss Since |
Safari 16.4 shipped Array#group. At the time, this broke IBM cloud login (webcompat/web-bugs#112923), but not altron.ch (webcompat/web-bugs#112552). IBM's usage involved treating an array as a query param object, one of the keys of which was |
Shall we also break things and move fast ⏩ forward? 😀 |
It's already stable Safari and all the other naming suggestions are terrible. |
It’s a pity this is too obscure because I think it'd be a semantic upgrade from “group” if not for that — it implies grouping on the basis of some condition, not just arbitrary grouping. |
etc. all names need to be checked against what exist out there. |
I don't think we need additional name suggestions right now; we're right in the middle of the TC39 plenary and we'll be discussing it further tomorrow. |
The proposal has been demoted to stage 2, with the expectation that I will be requesting stage 3 for it in July with static methods (#47). |
Hey all,
We have another regression, this time with
group
. https://bugzilla.mozilla.org/show_bug.cgi?id=1791415#c14It didn't get surfaced quite as quickly as the last one, as it was harder to catch. This may be true of other sites.
The text was updated successfully, but these errors were encountered: