Google Chrome is trying to avoid another Y2K style bug. We all remember the Y2K bug or the millennium bug the world experienced after we entered the first day of the last year in the 20th century. For those of you who do not remember it, when the date changed from 31st December 1999 to 1st January 2000, many systems around the world experienced major failures. This happened primarily because computer systems used to abbreviate the last two digits of the year to save space. When the year moved from ‘99’ to ‘00’, it resulted in malfunctioning of many softwares that were not able to recognize the correct year.
How does this affect Google Chrome? Well, Google Chrome, at present, is on its 96th version. The versions change everytime a new update is introduced to Google Chrome. Now, Google expects to release its 100th update sometime in the first half of 2022. This might cause many websites to experience the same doom of Y2K bug all over again due to errors in its user-agent string.
And Google Chrome is worried. When Chrome first updated itself from version 9 to version 10, there were major issues with many websites and they would not be displayed on Chrome browser at all. The main reason why it happened was because websites registered single digit before it, so many websites redirected to Google Chrome version 0, which did not exist and became incompatible for the latest version.
Now, as version 100 approaches, Google Chrome intends to not let it happen again.
In order to avoid the potential catastrophe, Google Chrome has introduced a feature flag in its 96th iteration. This new runtime flag will force the user-agent string to use the 100th version in its code and apply to both user-agent request header as well as Javascript API.
Read more on tech.hindustantimes.com