New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 627188 link

Starred by 15 users

Issue metadata

Status: Duplicate
Merged: issue 423246
Owner:
Closed: Nov 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 423246
issue 563644


Show other hotlists

Hotlists containing this issue:
Nice-to-haves-for-Project-V


Sign in to add a comment

"Offline" network throttling setting does not disconnect open WebSockets

Reported by shinypla...@gmail.com, Jul 11 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/602.1.39 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.5

Steps to reproduce the problem:
1. Open a web page that uses a WebSocket, e.g. sign into a Slack team
2. Select “Offline” present from “Network throttling” dropdown
3. Observe that WebScoket remains open

What is the expected behavior?
WebSocket should be disconnected, the same as if the internet connection had been disconnected at the OS layer.

What went wrong?
WebSocket remains operational.

Did this work before? No 

Chrome version: 51.0.2704.106 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.11.5
Flash Version: 22.0.0.192
 
Screenshot 2016-07-11 12.27.00.png
42.3 KB View Download

Comment 1 by alph@chromium.org, Jul 11 2016

Components: -Platform>DevTools Platform>DevTools>Network
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
I have the same issue with the "Offline" setting on Windows 10 with Chrome Version 51.0.2704.106 m. 

I am using sock.js for the websocket connection and it keeps working on the real websocket protocol although beeing in the offline mode. 

Comment 3 by allada@chromium.org, Jul 14 2016

Blockedon: 563644
Labels: network-throttling-issues
I spoke with the team about this. Yes we could make a work around for just offline/online events, it is part of the underlying problem outlined here:  http://crbug.com/563644 

We are not sure exactly how to handle this at this time, but it is something we want to fix.

Comment 4 by m.zd...@gmail.com, Aug 25 2017

Not only it doesn't disconnect existing opened websockets, it even doesn't prevent new websockets to be opened.

"Offline" setting also doesn't influence WebRTC PeerConnections - they still happliy work.


Comment 5 by allada@chromium.org, Sep 21 2017

Blockedon: 423246
Owner: caseq@chromium.org

Comment 7 by caseq@chromium.org, Dec 13 2017

Cc: divya.pa...@techmahindra.com caseq@chromium.org
 Issue 788548  has been merged into this issue.
Owner: jarhar@chromium.org
Mergedinto: 423246
Status: Duplicate (was: Assigned)

Sign in to add a comment