[Presentation API] onclose and onterminate events not firing |
||||||||
Issue description
When presentationConnection.close() or presentationConnection.terminate() are called, the presentationConnection.onclose and presentationConnection.onterminate events do not fire.
Reproduce in Chrome with MR enabled:
var presentationRequest = new PresentationRequest('http://google.com/cast/#__castAppId__=EF1A139F');
presentationRequest.start().then(function(presentationConnection) {
console.log('connected');
presentationConnection.onclose = function() { console.log('closed'); };
presentationConnection.close();
});
Also reproducible in the sample here:
https://googlechrome.github.io/samples/presentation-api/
,
Jul 27 2016
,
Jul 27 2016
,
Sep 9 2016
,
Sep 29 2016
,
Oct 5 2016
,
Oct 5 2016
Let's keep this open in the public tracker since it's Web facing.
,
Oct 20 2016
Vadim fixed this in cr/135709351. Leave it open to track implementation of onclose/onterminate event for 1-UA.
,
Nov 2 2016
Since this is fixed in the scenario reported in this issue, closing.
,
Mar 24 2017
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by sheriffbot@chromium.org
, Jul 1 2016