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

gapi.load() clears the console. #394

Closed
mesqueeb opened this issue Feb 20, 2018 · 5 comments
Closed

gapi.load() clears the console. #394

mesqueeb opened this issue Feb 20, 2018 · 5 comments

Comments

@mesqueeb
Copy link

I have a weird bug where as soon as I do gapi.load('client:auth2') it will clear out the console.
This makes it hard to debug stuff that happen before gapi.load.

Is this the normal behaviour?

@TMSCH
Copy link
Contributor

TMSCH commented Feb 20, 2018

@mesqueeb Is it on Chrome? If so, this is an issue with Chrome itself not the library. Adding an IFrame to the DOM does that in newer versions of Chrome. You can click the option to Preserve Log to avoid the console being cleared.

@TMSCH TMSCH closed this as completed Feb 20, 2018
@mesqueeb
Copy link
Author

@TMSCH
Thank you very much. Preserve Log in the console does keep the logs.
Now I noticed the behaviour that when I open my app it says:

Navigated to https://accounts.google.com/o/oauth2/postmessageRelay?parent=http%3A%2F%2Flocalhost%3A5000&etc........ (omitted)

Is this behaviour normal? (If so you can just thumbs up this post) : D

@TMSCH
Copy link
Contributor

TMSCH commented Feb 21, 2018

It is yes.

@misterbridge
Copy link

misterbridge commented Mar 30, 2018

Sorry to unburry this thread but you say it's a Chrome bug, is there anywere I can find mention on this ?
I couldn't find anyone talking about this bug until this thread, I'm at least glad I'm not the only one.
I just can't find the proper words to search this bug online ... :(

@misterbridge
Copy link

Alright found it

TL;DR: Wait for chrome 66

https://bugs.chromium.org/p/chromium/issues/detail?id=823894
https://bugs.chromium.org/p/chromium/issues/detail?id=818209

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