Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

IE9 Developer Console login problem #191

Open
psychpsych opened this issue Jul 12, 2016 · 2 comments
Open

IE9 Developer Console login problem #191

psychpsych opened this issue Jul 12, 2016 · 2 comments

Comments

@psychpsych
Copy link

psychpsych commented Jul 12, 2016

Hello,
There is a strange problem for my site.
I'm using AngularJS and satellizer for auth/login settings.

And I'm using xdomain for login in IE9. Well, if developer console is open on the browser, I can login to the site. But if not, I cannot login.

I cannot debug because this problem.
What's the problem? How can I fix it?

@ammojamo
Copy link

This error can happen if your code calls console.log(). In IE9, console is only defined if the developer tools are open, otherwise you get an error. Very annoying heisenbug, but easily fixed by creating a dummy console object.

@jesujcastillom
Copy link

This script worked for me

image

It must be loaded before any script that makes a call to console.* function is loaded, since ie9 silently fails on this error.

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

No branches or pull requests

3 participants