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

Issue 723358 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

getInstalledRelatedApps should return sequence, not single object

Project Member Reported by mgiuca@chromium.org, May 17 2017

Issue description

The IDL for getInstalledRelatedApps:
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl

    Promise<RelatedApplication> getInstalledRelatedApps();

This should be:

    Promise<sequence<RelatedApplication>> getInstalledRelatedApps();

The implementation does already return an array object. It's just a type error in the IDL. I believe the bindings generator ignores the Promise resolution type, which is why this type error isn't detected by the compiler.
 

Sign in to add a comment