Network emulator not working with websockets

2,293 views
Skip to first unread message

Nicolas Frandeboeuf

unread,
Mar 25, 2015, 10:39:31 AM3/25/15
to google-chrome-...@googlegroups.com
Hi,

I do not know if this is a bug or a feature not yet implemented but the network emulator does not work with websockets.

With any other request (XHR for example), the network emulator works great (both throttling and offline modes) but with websockets it does not.

For example, go to this page : http://www.websocket.org/echo.html, use the network emulator and set it to "Offline", then try to send a message : the message will be sent & received back.

Should I report it as a bug here : https://code.google.com/p/chromium/issues/list ? 

Jonathan Garbee

unread,
Mar 25, 2015, 12:43:01 PM3/25/15
to google-chrome-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/b5854361-4473-4437-b94e-2a3486f839fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nicolas Frandeboeuf

unread,
Mar 26, 2015, 4:32:04 AM3/26/15
to google-chrome-...@googlegroups.com
Even without using a ServiceWorker (just use a websocket directly), this does not work. I am not sure it is related ?


Le mercredi 25 mars 2015 17:43:01 UTC+1, Jonathan Garbee a écrit :
On Wed, Mar 25, 2015 at 10:39 AM Nicolas Frandeboeuf <nico...@gmail.com> wrote:
Hi,

I do not know if this is a bug or a feature not yet implemented but the network emulator does not work with websockets.

With any other request (XHR for example), the network emulator works great (both throttling and offline modes) but with websockets it does not.

For example, go to this page : http://www.websocket.org/echo.html, use the network emulator and set it to "Offline", then try to send a message : the message will be sent & received back.

Should I report it as a bug here : https://code.google.com/p/chromium/issues/list ? 

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.

Jonathan Garbee

unread,
Mar 26, 2015, 6:54:44 AM3/26/15
to google-chrome-...@googlegroups.com
Whoops, copied wrong bug URL.


That one is the network emulation with websockets bug.

To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/a49d6aa7-fecb-4301-9dbf-d8a23d1041e3%40googlegroups.com.

Nicolas Frandeboeuf

unread,
Mar 26, 2015, 6:57:35 AM3/26/15
to google-chrome-...@googlegroups.com
Great, thanks !


Le jeudi 26 mars 2015 11:54:44 UTC+1, Jonathan Garbee a écrit :
Whoops, copied wrong bug URL.


That one is the network emulation with websockets bug.

On Thu, Mar 26, 2015 at 4:32 AM Nicolas Frandeboeuf <nico...@gmail.com> wrote:
Even without using a ServiceWorker (just use a websocket directly), this does not work. I am not sure it is related ?

Le mercredi 25 mars 2015 17:43:01 UTC+1, Jonathan Garbee a écrit :

On Wed, Mar 25, 2015 at 10:39 AM Nicolas Frandeboeuf <nico...@gmail.com> wrote:
Hi,

I do not know if this is a bug or a feature not yet implemented but the network emulator does not work with websockets.

With any other request (XHR for example), the network emulator works great (both throttling and offline modes) but with websockets it does not.

For example, go to this page : http://www.websocket.org/echo.html, use the network emulator and set it to "Offline", then try to send a message : the message will be sent & received back.

Should I report it as a bug here : https://code.google.com/p/chromium/issues/list ? 

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/b5854361-4473-4437-b94e-2a3486f839fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages