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

Issue 651216 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

[PresentationAPI] Repeat call to PresentationRequest.getAvailability return undefined

Project Member Reported by imch...@chromium.org, Sep 28 2016

Issue description

Reproducible on beta (54.0.2840.41) and head 55.0.2867.0.

To repro, go to dev console:

var A = new PresentationRequest('abc').getAvailability();
var B = new PresentationRequest('abc').getAvailability();

Expected:
B is a Promise

Actual:
B is undefined.


This will also repro:
var a = new PresentationRequest('xyz');
var p1 = a.getAvailability();
var p2 = a.getAvailability();

Expected:
p1 and p2 are both Promises

Actual:
p1 is a Promise; p2 is undefined.


Note this doesn't repro if the URLs are different.
 
Labels: -Pri-3 Pri-2

Comment 2 by mfo...@chromium.org, Sep 28 2016

Labels: PresentationAPI
Summary: [PresentationAPI] Repeat call to PresentationRequest.getAvailability return undefined (was: Repeat call to PresentationRequest.getAvailability return undefined)

Comment 3 by sko...@chromium.org, Sep 28 2016

Status: Assigned (was: Untriaged)

Comment 4 by sko...@chromium.org, Sep 28 2016

Labels: -Pri-2 Pri-1
Status: Started (was: Assigned)
Labels: Merge-Request-54
It might be too late but checking if we can make this to M54 because it could break some websites.
Labels: -Merge-Request-54 Merge-Rejected-54
I'd prefer to wait until M55, since we're cutting stable in less than a week and only taking high priority fixes. If you believe this will impact a large number of users feel free to push back.
Labels: -M-54
Fair enough. Keeping this open because it landed close to the branch point. Want to double check that the fix made it to M55.
Status: Fixed (was: Started)
Branch revision is 423768 and the fix landed in 423553 so it should be in m55. Closing.

Comment 12 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840
Labels: -PresentationAPI

Sign in to add a comment