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

Issue 625025 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[Presentation API] onclose and onterminate events not firing

Project Member Reported by jonlau@google.com, Jul 1 2016

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/
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 1 2016

Labels: Hotlist-Google
Labels: -Pri-3 Pri-2

Comment 3 by sko...@chromium.org, Jul 27 2016

Labels: M-54
Owner: btolsch@chromium.org
Status: Assigned (was: Untriaged)
Labels: -M-54 M-55

Comment 5 by mfo...@chromium.org, Sep 29 2016

Labels: PresentationAPI
Status: WontFix (was: Assigned)
Tracked internally at b/30441795.
Cc: btolsch@chromium.org
Owner: zhaobin@chromium.org
Status: Assigned (was: WontFix)
Let's keep this open in the public tracker since it's Web facing.
Vadim fixed this in cr/135709351.

Leave it open to track implementation of onclose/onterminate event for 1-UA.
Status: Fixed (was: Assigned)
Since this is fixed in the scenario reported in this issue, closing.
Labels: -PresentationAPI

Sign in to add a comment