dart:html all APIs indicating a SecureContext should be nullable #41944
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
library-html
web-libraries
Issues impacting dart:html, etc., libraries
Some DOM APIs indicate that they are available in a SecureContext only.
If the program is loaded under
https://
there is a value, otherwise (e.g. underhttp://
) it is undefined.Turns out that was why
deviceMemory
was failing on some tests (see https://developer.mozilla.org/en-US/docs/Web/API/Device_Memory_API)The text was updated successfully, but these errors were encountered: