Live data from Hacker News

Chrome breaks the Web

tonsky.me

231–240 of 473 posts

Re: Chrome breaks the Web

#231

Jesus Christ, to think there are people in this thread defending what the assholes in the Chrome team did is unbelievable. You make breaking changes opt-in, that is API design 101. Linus should take over Chrome development.

"Assholes"? Did we really stoop so low on HN that insulting other developers is acceptable now?

Re: Chrome breaks the Web

#232
post #220

Earlier quoted context omitted.

It seems Firefox supports a non-standard fourth parameter, so that won't work either. addEventListener is possibly the worst organically grown API I've seen in a long time. If anything, its sordid history should be a lesson to the Chrome dev team that fucking around with proprietary extensions (which this most definitely is) just leads to future technical debt and pain for everyone. Why do they never learn?

That isn't an issue if you use a new method name -- I believe "addEventListenerEx" was meant to be read literally. (Appending "Ex" to a function name for an expanded parameter list is a Win32 convention.)

Right. The whole problem disappears if you just define a new function name.

Re: Chrome breaks the Web

#233
post #198

OK, this sounds bad. But... Devil's advocacy here: are there any real-world examples of actual sites whose event behavior was actually broken by this change in Chrome 56? It happened a few months back, and I don't remember anyone complaining. I mean... it broke the author's app. Probably a few others somewhere. But it seems not to have broken anything significant. I guess I fail to see the concern here. It's an edge…

It broke our web apps. Specifically, drag and drop list reordering functionality and image cropping. I was pissed when it happened. It wasn't a change that a typical content site would be broken by, but a lot of web apps were: drag/drop reordering isn't a very unusual feature these days.

Re: Chrome breaks the Web

#235
post #231

Jesus Christ, to think there are people in this thread defending what the assholes in the Chrome team did is unbelievable. You make breaking changes opt-in, that is API design 101. Linus should take over Chrome development.

"Assholes"? Did we really stoop so low on HN that insulting other developers is acceptable now?

When you break an API you are an "asshole" fullstop.

Re: Chrome breaks the Web

#236
post #212

Did anyone's website or web app break because of this change in Chrome 56? I ask because the article lists a couple things that could break such as drag 'n drop but I have not noticed anything breaking in my experience.

Took about a developer day to fix everything. Drag/drop list reordering, pan/zoom image cropper were the primary things busted. IMO, the change was an unacceptably aggressive move by the Chrome team made with good intentions.

Re: Chrome breaks the Web

#237
post #9

> they made all top-level event listeners passive by default. They call it “an intervention”. This is my very problem with Chrome/Chromium right now. The Chrome team does assumption on how things "should" be (in a highly subjective way) and breaks the web. Another example: they decided to ignore the value of `autocomplete` attributes on ` ` tags [1], because: > The tricky part here is that somewhere along the journey…

This is like Internet Explorer way of doing things all over again. Instead of following the standard, just try to guess what people wanted to do, so you create a new standard.

Re: Chrome breaks the Web

#238
post #214

Earlier quoted context omitted.

> Dude, autocomplete=off should just work. Chrome does the WRONG THING. Screw you. I've probably encountered 'autocomplete=off' thousands of times in my browsing history, and maybe 1% of the time was it being used for something that wasn't user-hostile. I don't care what the spec says, I care about what's good for users. If the spec writers aren't willing to embrace that, vendors will ignore it.

A website is owned by someone. If they decide that in their shop they want to have a carpet floor it is up to users not to visit that shop (if they don't like that), but not up to adidas to turn the floor into tarmac, because that works better for their shoes...

If the website says to display ads, my browser will properly ignore that. If the website says to prevent the user from switching away from the tab, my browser will properly ignore hat. If the website tries to take over my system and install malware, my browser will properly ignore that. And if the browser tries to break the ability to remember passwords, my browser will properly ignore that too.

Websites consist of code to be interpreted by browsers as they see fit, for the benefit of their users. Those users do not necessarily want exactly the experience the site authors want them to have.

Re: Chrome breaks the Web

#239
post #9

> they made all top-level event listeners passive by default. They call it “an intervention”. This is my very problem with Chrome/Chromium right now. The Chrome team does assumption on how things "should" be (in a highly subjective way) and breaks the web. Another example: they decided to ignore the value of `autocomplete` attributes on ` ` tags [1], because: > The tricky part here is that somewhere along the journey…

Regulatory compliance. I've worked on applications that had to go to great lengths to get the target browser platform to not do something like auto-complete authentication credentials. Philosophically-speaking some Web Platform developers think that it's more secure for the browser to autofill credentials from a keychain so that users can use better passwords and not be burdened with remember N-pseudo-random characte…

Those regulations are bad and user-hostile. If they are making it impossible to fulfill them, they are doing the right thing for their users.

Re: Chrome breaks the Web

#240
post #214

Earlier quoted context omitted.

> Dude, autocomplete=off should just work. Chrome does the WRONG THING. Screw you. I've probably encountered 'autocomplete=off' thousands of times in my browsing history, and maybe 1% of the time was it being used for something that wasn't user-hostile. I don't care what the spec says, I care about what's good for users. If the spec writers aren't willing to embrace that, vendors will ignore it.

A website is owned by someone. If they decide that in their shop they want to have a carpet floor it is up to users not to visit that shop (if they don't like that), but not up to adidas to turn the floor into tarmac, because that works better for their shoes...

My computer is owned by me. If I download your HTML, I get to do whatever I want with it, using any software I please. I am under no obligation to render it or process it in the particular way you would most prefer. You can suggest that I might want to render your website with carpet on the floor, but if I object to carpet and choose to render all websites with tile floors instead, that's my choice - because it's my computer, and I get to decide what I'm going to do with it. If you don't like that, don't let me download your HTML.
Post reply on HN