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

Issue 687846 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Long OOO (go/where-is-mgiuca)
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

navigator.getInstalledRelatedApps should reject with an Error object, not undefined

Project Member Reported by mgiuca@chromium.org, Feb 2 2017

Issue description

Chrome Version: 57
OS: All

What steps will reproduce the problem?
(1) Turn on flag --enable-experimental-web-platform-features.
(2) Console: navigator.getInstalledRelatedApps()

What is the expected result?
"Uncaught (in promise) AbortError" or similar.

(Right now, it isn't implemented so it should just be an AbortError: Not implemented. Eventually, there is no well-defined failure case, but it should reject with AbortError if something goes wrong internally.)

What happens instead?
"Uncaught (in promise) undefined"
 
Status: Assigned (was: Started)
Will get to this as part of refactoring the way NavigatorInstalledApp works (I couldn't find an obvious way to do it with the CallbackPromiseAdapter and I plan to delete that anyway).
Components: UI>Browser>WebAppInstalls
navigator.getInstalledRelatedApps return undefined

Sign in to add a comment