Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 17, 2022 08:54 am GMT

Firefox and Chrome versions '100' may break some websites

As both the Chrome and Firefox browsers approach their 100th versions, what should be a reason for the developers to celebrate could turn into a bit of a mess. It turns out that much like the Y2K bug, the triple-digit release numbers coded in the browsers' User-Agents (UAs) could cause issues with a small number of sites, Bleeping Computer reported.

Mozilla launched an experiment last year to see if version number 100 would affect sites, and it just released a blog with the results. It did affect a small number of sites (some very big ones, though) that couldn't parse a user-agent string containing a three-digit number. Notable ones still affected included HBO Go, Bethesda and Yahoo, according to a tracking site. The bugs include "browser not supported" messages, site rendering issues, parsing failures, 403 errors and so on.

How could such a silly thing be happening? "Without a single specification to follow, different browsers have different formats for the User-Agent string, and site-specific User-Agent parsing," Mozilla explained in the blog. "Its possible that some parsing libraries may have hard-coded assumptions or bugs that dont take into account three-digit major version numbers."

Luckily, developers for both browsers have a plan. If there are issues with sites that can't be resolved before the versions are released, both browsers will freeze the version numbers at 99 in the UA strings or inject code overrides to fix the problems. Both have also asked developers to test their sites with Firefox/Chrome 100 user agents. The browsers are set to arrive on March 29th and May 3rd for Chrome and Firefox respectively hopefully like Y2K, it'll be much ado about nothing..


Original Link: https://www.engadget.com/firefox-and-chrome-versions-100-may-break-some-websites-085422307.html?src=rss

Share this article:    Share on Facebook
View Full Article

Engadget

Engadget is a web magazine with obsessive daily coverage of everything new in gadgets and consumer electronics. Engadget was launched in March of 2004 in partnership with the Weblogs, Inc. Network (WI

More About this Source Visit Engadget