Webkit's source code:
if(amazon || google){
}
Haha, HAHHhahaha
@neauoire@merveilles.town this whole file, wow
@rezmason@merveilles.town @neauoire@merveilles.town oh i forgot about that, yeah. guess these practices go back longer than i thought...
@rezmason@merveilles.town @neauoire@merveilles.town your mention of this jogged my memory to some anecdote i was told a while ago about drivers being updated to optimize for specific benchmark apps. no idea if there was any validity to it, but it really doesn't sound too farfetched
@rezmason@merveilles.town found at least one mention of it https://techreport.com/news/5135/nvidia-caught-cheating-again-in-3dmark03/
We’ve seen a stunning performance boost with the new NVIDIA Detonator FX 44.03 drivers, and it appears NVIDIA has already been caught cheating in 3DMark03. You can read the whole story in this article by Dave Salvator. The Detonator FX drivers use custom pre-defined clip planes and avoid doing key buffer clears in order to boost performance artificially. These kind of tricks only work when the camera follows a pre-defined path, as it does in the 3DMark03 benchmark.
@rezmason @natalie @neauoire I dunno about Linux but Raymond Chen (who's worked at Microsoft for nearly 30 years) has plenty of posts about the massive lengths they used to go for backwards compatibility with important apps: https://devblogs.microsoft.com/oldnewthing/?s=backwards+compatibility
@neauoire wow, I don't know if this is embarrassing or infuriating. What the actual f***!
@cadence did it :> thanks for the inspiration.
@neauoire Ah, yes. Web rabies. It spreads rapidly and creates an insatiable thirst. Almost always kills the web
@neauoire 🤦♂️
@neauoire y a les même pour googlestreet map et youtube.
@neauoire nothing to see here, web is not broken
@neauoire wow, this whole C++ file is amazing. Thanks for sharing!
@neauoire interestingly, Firefox has a similar system, but mostly for user agent sniffing counter measures, see about:compat. I guess it's a game you have to play if you're not Chrome 😔
@neauoire The iCloud stuff is the most embarrassing because that’s Apple’s own site.
I’ve at times had quirks mode stuff in Comic Snarfer so I don’t blame the webkit devs for the messed up sites. I blame the sites.
Image caption
@neauoire a drake meme.
drake_no: "modifying your website to work on browser"
drake_yes: "Modifying webkit to work on your website"
@neauoire reading through that file made me really sad :(
@neauoire The `git blame` context is interesting: https://github.com/WebKit/WebKit/commit/fbc716afc0525738d3d92576ad976aa3e6e81cc0
But the meme you chose is on the money. When everyone chases the most users and users want things to "just work", whose blame it is depends on who has the fewest users. If you're big, others mould themselves to you.
The solution: stop being users.
@neauoire You'll like this: there's a _standard_ for browser quirks.
https://quirks.spec.whatwg.org
"What, oh, you thought _you_ could have quirks, plebe?"
@neauoire@merveilles.town OH MY GOD
@neauoire I just threw up a little in my mouth.
That is totally disgusting... and expected.
@neauoire Wow…next it’ll require a cryptographic key to make the condition isAmazon true…open source at its finest?
@neauoire what the actual fuck 😬
@neauoire those companies and websites aren't small either. Blimey! 😂 🤦♂️
@neauoire Whaaaaat hahhhahahahhaa.
@neauoire It originates from this commit. https://github.com/WebKit/WebKit/commit/fbc716afc0525738d3d92576ad976aa3e6e81cc0
@neauoire Wait a minute; does that mean that Chrome actually has special case code for Amazon storefront pages?
Like, if Amazon changes their site layout, Google would need to roll out a Chrome update to compensate?
@neauoire (this is rhetorical; other comments confirmed my fears.)
@neauoire please view my boost and favorite as a 🤮 react
@neauoire That's terrifying. So much for an "open web".
@neauoire lol what the fuck
I'm more ashamed that I didn't know about this, wow
https://github.com/WebKit/WebKit/blob/31b77296cf6d85c40313812d9f65a003cf41f440/Source/WebCore/page/Quirks.cpp#L325