-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
NNBDIssues related to NNBD ReleaseIssues related to NNBD ReleaseP1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.library-htmlweb-librariesIssues impacting dart:html, etc., librariesIssues impacting dart:html, etc., libraries
Description
In debugging some internal apps I've come across several APIs that are not supported in FF and Safari. These are currently marked as non-nullable because they aren't nullable in Chrome, but in those browsers they are.
So far I've run into:
Performance.memory
(see https://developer.mozilla.org/en-US/docs/Web/API/Performance)navigator.connection
in Safary (see https://developer.mozilla.org/en-US/docs/Web/API/Navigator)navigator.connection.downlink
in FF (see https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation)
Short term we need to mark all those APIs as nullable. We should however discuss whether we should change our default (being more lax about nullability, or cross referencing them with some other database).
Metadata
Metadata
Assignees
Labels
NNBDIssues related to NNBD ReleaseIssues related to NNBD ReleaseP1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.library-htmlweb-librariesIssues impacting dart:html, etc., librariesIssues impacting dart:html, etc., libraries