Errors can be found not only in programs, but also in programming languages themselves. The current version of the well-known web programming language HTML 5 has a new bug that was discovered only in the past week by programmer Feross Aboukhadijeh. A bug in this language can cause websites viewed through the most popular and widely used browsers to overwhelm visitors' computers with gigabytes of useless data. The only browser that was able to protect the user from this error is Mozilla Firefox, with which the user only gets 5MB of such data.
A newly discovered bug plagues browsers Safari (Mac too) iOS), Google Chrome, Internet Explorer, Opera and many others that support HTML 5. While in each browser the user has the opportunity to determine the limitations themselves, each of these browsers provides at least 2,5MB of space on the user's computer. However, websites can use this bug to bypass the limit by creating several temporary pages, each with a limit corresponding to the primary, main site.
The developer was using this error when testing MacBook Pro s Retina display, while the bug was able to fill 1GB of space every 16 seconds. Before the hard disk is completely full, 32-bit browsers may stop working. The developer decided to release the code that can be used to fix this error and created a special Filldisk page to point out the error in more detail. However, it may be good news that the flaw in the "localStorage" element has not yet been used to intentionally harm users.
*Source: Appleinsider.com; Feross.org
It's not HTML5's fault, but so be it.