Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 8, 2021 02:34 pm

Google Chrome Criticized For Breaking Change Over Disabling Alert() and Confirm() in Cross-Origin Frames

Google Chrome will disable JavaScript functions like alert() and confirm() inside cross origin-frames," reports Inside.com's developer newsletter. "As this is a breaking change, developers are encouraged to update their apps and debugging tools before the update."A Chrome engineering team member said the team is disabling alert() to protect users from being tricked by scammers. Some are complaining this has already affected programming tutorials and Javascript learning sites that sandbox user-provided code in cross-origin frames. For those affected by the changes, Chrome advises the following: - Get a few months' extension by signing up for the "reverse origin trial" so you can temporarily opt out of the change. - Check out the enterprise policy. The move has sparked controversy: - One Discord engineer criticized the fact such a major breaking change is happening without extensive discussion on the matter. - Another Twitter user echoed the sentiment of many when he argued the move will just hurt those who can't easily update sites while encouraging attackers to use pseudo alert functionality. One of Google's Chrome engineers explained on Twitter that "Major browser vendors are generally aligned about wanting to move the platform away from alert() and friends, even though it will unfortunately involve some breakage... "On breakage in general — breaking changes happen often on the web, and as a developer it's good practice to test against early release channels of major browsers to learn about any compatibility issues upfront."

Read more of this story at Slashdot.


Original Link: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/4yGmwBKB9bI/google-chrome-criticized-for-breaking-change-over-disabling-alert-and-confirm-in-cross-ori

Share this article:    Share on Facebook
View Full Article

Slashdot

Slashdot was originally created in September of 1997 by Rob "CmdrTaco" Malda. Today it is owned by Geeknet, Inc..

More About this Source Visit Slashdot