Skip to content

window.opera = null problem #11853

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
alisherdavronov opened this issue Dec 14, 2017 · 1 comment
Closed

window.opera = null problem #11853

alisherdavronov opened this issue Dec 14, 2017 · 1 comment

Comments

@alisherdavronov
Copy link
Contributor

I want to report a bug.

When there is a var named opera with value null in window before loading react then react app crashes.

Steps to reproduce:

  1. Create a new app using create-react-app my-app
  2. cd my-app && yarn start
  3. Add one line (<script>window.opera=null</script>) just before closing body tag into file public/index.html
  4. The app crashes here.

Couldn't reproduce on jsfiddle.net. I think because problem appears if we execute window.opera=null BEFORE loading react.

Expected behavior is to not crash.

React v16.2.0 and Google Chrome Version 63.0.3239.84 (Official Build) (64-bit).
Have no info about problematic behavior with previous versions of React.

@aweary
Copy link
Contributor

aweary commented Dec 19, 2017

Closed by #11854

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants