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

Can not check Event Stream in Chrome Network Panel when using polyfill #94

Closed
linxiaowu66 opened this issue Mar 1, 2018 · 3 comments
Closed

Comments

@linxiaowu66
Copy link

Hi,
I testing this polyfill in the chrome broswer, but i can not check the event stream in Network panel, when i switch to the native api, the event stream can be shown in the network panel. just like that:

selection_003

@danwale
Copy link

danwale commented Mar 1, 2018

We've also found this and due to other issues (as well as this) in the polyfill have had to revert to the native EventSource object so that we can monitor our event streams for troubleshooting.

@aslakhellesoy
Copy link
Contributor

Chrome will only show native EventSource in the network panel. The polyfill uses XMLHttpRequest or fetch.

How do you suggest we fix this issue?

@linxiaowu66
Copy link
Author

@danwale @aslakhellesoy
Neither I read the source code, nor familiar with EventSource, so I have not any suggestion with this issue. In my opinion, switch to use native API when detecting in google chrome maybe is perfect solution in my application code.

Thanks for your answer

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