react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

Replace alert() with console.log() (#3656)

Open denizbinay opened this issue 4 years ago • 2 comments
trafficstars

The following Chromium feature is currently being tested. "Feature: Remove alert(), confirm(), and prompt for cross origin iframes§ https://www.chromestatus.com/feature/5148698084376576

Therefore, alert() will no longer work on Codepen. console.log() still works. The feature is not yet in the stable version of Chromium, but in the current beta (tested with Chrome beta version 91.0.4472.27).

denizbinay avatar May 04 '21 17:05 denizbinay

Deploy preview for reactjs ready!

Built without sensitive environment variables with commit 5a53a4a7538d717ddfbb0b0502dc6e67544980da

https://deploy-preview-3669--reactjs.netlify.app

reactjs-bot avatar May 04 '21 17:05 reactjs-bot

Hello @denizbinay, thank you for contributing! Can you check whether now, (after those years 🙃 ) this is really the case and alert does cause issues on the react.dev? If yes, then please rebase so I would look into this PR. 👍 Thank you!

BartoszKlonowski avatar Aug 14 '24 14:08 BartoszKlonowski