WebRTC data channels automatically closed before beforeunload event when browser closed
Reported by
douglasw...@hotmail.co.uk,
Apr 26 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 Steps to reproduce the problem: 1. open webRTC data channel 2. add window.beforeunload() a function with debug statement in first line. 3. see data channel and peerConnection are already closed when debug statement is reached. What is the expected behavior? Should close after beforeunload and thus be open in beforeunload. Clearly is not beforeunload but afterunload regarding peer Connections; contradicting documentation. What went wrong? peer connection and data channel closed before beforeunload when should close after beforeunload as means user cannot chose to stay on page if, for example, it is an important page. Did this work before? N/A Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: Flash Version: Shockwave Flash 11.2 r202
,
Apr 27 2017
,
Apr 27 2017
hbos@: can you take a look? |
|||
►
Sign in to add a comment |
|||
Comment 1 by chrishtr@chromium.org
, Apr 27 2017