You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The webcrypto API is only available in "secure contexts". We should detect when this isn't the case, make sure we throw UnsupportedError with a description error message, and ideally a link to some documentation about "secure contexts".
We could potentially write up a note about this in the "compatibility notes" section in the README.md.
Also it'd be nice if we had some test cases for this. Those might have to be manual test cases, because dart test running in the browser will probably fake a secure context.
The text was updated successfully, but these errors were encountered:
The webcrypto API is only available in "secure contexts". We should detect when this isn't the case, make sure we throw
UnsupportedError
with a description error message, and ideally a link to some documentation about "secure contexts".Webcrypto API docs on mdn
Secure Contexts on mdn
We could potentially write up a note about this in the "compatibility notes" section in the
README.md
.Also it'd be nice if we had some test cases for this. Those might have to be manual test cases, because
dart test
running in the browser will probably fake a secure context.The text was updated successfully, but these errors were encountered: