'How Chrome Broke the Web' (tonsky.me)
Reader Tablizer writes (edited and condensed): The Chrome team "broke the web" to make Chrome perform better, according to Nikita Prokopov, a software engineer. So the story goes like this: there's a widely-used piece of DOM API called "addEventListener." Almost every web site or web app that does anything dynamic with JS probably depends on this method in some way. In 2016, Google came along and decided that this API was not extensible enough. But that's not the end of the story. Chrome team proposed the API change to add passive option because it allowed them to speed up scrolling on mobile websites. The gist of it: if you mark onscroll/ontouch event listener as passive, Mobile Google can scroll your page faster (let's not go into details, but that's how things are). Old websites continue to work (slow, as before), and new websites have an option to be made faster at the cost of an additional feature check and one more option. It's a win-win, right? Turned out, Google wasn't concerned about your websites at all. It was more concerned about its own product performance, Google Chrome Mobile. That's why on February 1, 2017, they made all top-level event listeners passive by default. They call it "an intervention." Now, this is a terrible thing to do. It's very, very, very bad. Basically, Chrome broke half of user websites, the ones that were relying on touch/scroll events being cancellable, at the benefit of winning some performance for websites that were not yet aware of this optional optimization. This was not backward compatible change by any means. All websites and web apps that did any sort of draggable UI (sliders, maps, reorderable lists, even slide-in panels) were affected and essentially broken by this change.
Maybe you should fuck off with your website that modifies scrolling.
if you use Chrome.
As I'm firmly in the 'fuck Google and all of their products' camp, I hadn't noticed.
It doesn't sound like they broke the web; surely other browsers carried on working just fine? They broke their own product.
In the free world the media isn't government run; the government is media run.
This wasn't a default, it was a standard. Google was the one that decided to add a passive option in the first place, and when they defaulted it to true, they violated the standard. Sites that were broken by this change were doing everything right when they were written; their only mistake was not religiously re-checking their site against every new Chrome Canary build to make sure their standards-compliant site hadn't been broken.
Years ago, websites were designed so that they rendered properly with Internet Explorer. Microsoft didn't have to follow any standards because they had the most widely used browser and Fuck You if you don't use IE.
Now Chrome is the most widely used browser and Google has decided to become the new Microsoft.
Exactly.
Google is just adopting Microsoft's "Embrace, Extend, Extinguish" tactic against its opposition because it has the market share to do it.
That, and Google's attack on free speech, are the reasons why I canceled my Google account.
Running with Linux for over 20 years!
When too much changes too quickly, as is pretty clearly the case here, cromulence diminishes rather rapidly. Making up new words is fine, provided they have a definition based in what is already understood (perhaps even understandable?). However, if I (or whatever entity) begin to unilaterally redefine words and other parts of speech, problems start to arise, and mutual intelligibility is lost.
There is no XUL, only WebExtensions...
See subject: He's right - there was so much bitching about MS doing things around IE specific code (which forced sites to follow it BY FORCE) & now Google's doing it - hypocritical/pot-calling-a-kettle-black bs (do not as I do but as I say etc.) - This kind of change should go thru a standards board imo!
* Doesn't it OR rather, SHOULDN'T IT?
(I'd think so)
APK
P.S.=> This kind of action will 'break the web' ALL OVER AGAIN (& I recall web page makers bitching about "I write pages for IE one way, another way for FireFox, another way for Opera, another way for Chrome - it's too much work!" & they were right... apk
It's very, very, very bad
It explains:
Basically, Chrome broke half of user websites, the ones that were relying on touch/scroll events being cancellable, at the benefit of winning some performance for websites that were not yet aware of this optional optimization
OK, half the user websites? 50% of the web right? The linked article says:
We looked at the percentage of cancelable touch events that were sent to a root target (window, document, or body) and determined that about 80% of these listeners are conceptually passive but were not registered as such. Given the scale of this problem we noticed a great opportunity to improve scrolling without any developer action by making these events automatically "passive".
Looks like the chrome team did some basic profiling, figured out 80% of the listeners are actually passive. Still they should not have touched the default and educated the website developers to register conceptually passive listeners as passive, right?
Google gives some motivation for this:
We believe the web should be fast by default without developers needing to understand arcane details of browser behavior.
There are some plots and more profiling data there.
They could have done an RFC and got the standards updated in the next batch for this. But still, as evil behaviors go, this is not "dos is not done till lotus wont run" level. Does not even come to working around bugs in IIS in IE to make all other browsers crap out level of evil.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
Don't use Chrome. There, fixed.
It's idiocy like this why I am compelled to have at least 3 different browsers on every machine I use. Because it seems like every time there's some kind of update, stuff get horribly broken and I need to switch to a different browser for an extended period of time. It's to the point where I've purchased an xmarks premium subscription, so that all my bookmarks gets synced and I don't have to jump through hoops when the inevitable switch happens.
It's so frustrating the way companies think that they are allowed to have defacto control of the entire internet.
Fuck you Google, and fuck you Microsoft before you.