Wrong return type for getInstalledRelatedApps
.
#56986
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-libraries
Issues impacting dart:html, etc., libraries
window.navigator.getInstalledRelatedApps()
should return aList< RelatedApplication >
and not aRelatedApplication
.The current return signature is generating an error:
Declaration:
https://github.com/dart-lang/sdk/blob/0b38e4b189d1358446f883d68e69cf7d81d6e0ac/sdk/lib/html/dart2js/html_dart2js.dart#L22795
Web API reference:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getInstalledRelatedApps
The text was updated successfully, but these errors were encountered: