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
Any API marked with the [SecureContext] attribute (e.g. the Clipboard API) will be unavailable in non-secure contexts (i.e. HTTP), trying to use the API will result in panics.
Expected Behavior
For example Navigator::clipboard should return Option<Clipboard>
Actual Behavior
For example Navigator::clipboard returns Clipboard
Describe the Bug
Any API marked with the
[SecureContext]
attribute (e.g. the Clipboard API) will be unavailable in non-secure contexts (i.e. HTTP), trying to use the API will result in panics.Expected Behavior
For example
Navigator::clipboard
should returnOption<Clipboard>
Actual Behavior
For example
Navigator::clipboard
returnsClipboard
Additional Context
https://webidl.spec.whatwg.org/#SecureContext
The text was updated successfully, but these errors were encountered: