-
Notifications
You must be signed in to change notification settings - Fork 136
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
console.table(mapping) causing error in IE 11 (edge mode) #154
Comments
As a workaround, do not enable all the trace levels. The only
I will also add a conditional in the |
Thanks Chris. I disabled tracing in the project and we're able to load it in IE now. We did find another issue with IE 11 that I'm seeing present on your sample app as well. We get this error in the console every time we transition to another page. You can see it if you open IE 11 and then open the console. Then go to: https://ui-router.github.io/sample-app-angular/#/home You'll see that it generates the following:
We don't see this message in the console on Chrome or Firefox...unfortunately only on Internet Exploder (not a typo). Our testing group is really picky about error messages and even though this error message doesn't cause any functionality issues, they're complaining about it. Any ideas on what might be causing this or how to avoid it as well? Thanks so much! |
I think I tracked the one above down to this:
|
Thanks for confirming. I believe the second error you mentioned has been reported |
Reported here ui-router/core#64 |
Closes ui-router/angular#154 Closes #64 Closes ui-router/react#62 Closes ui-router/angular#139 Closes ui-router/angular#153
Closes ui-router/angular#154 Closes ui-router#64 Closes ui-router/react#62 Closes ui-router/angular#139 Closes ui-router/angular#153
Running @uirouter/angular v1.0.0-beta.7 alongside @angular v4.3.6 produces the following error in Internet Explorer 11 running in Edge mode:
"Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: Object doesn't support property or method 'table')"
The application will not load in IE, however it loads fine in Chrome and Firefox. I traced it down to a few commands in ui-router-core that are using console.table(mapping). If I change these to console.log(mapping), the app will load perfectly fine in IE.
It seems to be there is an issue with console.table on IE. Does anyone know of a way around this error or is this something that can be changed in the project?
The text was updated successfully, but these errors were encountered: