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
Since CHAPI is not meant to be available in a non-secure context, the polyfill should not install on non-HTTPS sites. Currently, the browser will eventually block its functionality but it should be blocked immediately and throw a SecurityError error if a developer tries to use it on a non-secure site.
The text was updated successfully, but these errors were encountered:
Is the idea here that the polyfill should check the current window URL, and make sure it's https?
Yes. When loading the polyfill, if the window location doesn't use https then the software should throw a DOM SecurityError indicating that the polyfill can only be loaded in a secure context (e.g., 'https').
Since CHAPI is not meant to be available in a non-secure context, the polyfill should not install on non-HTTPS sites. Currently, the browser will eventually block its functionality but it should be blocked immediately and throw a
SecurityError
error if a developer tries to use it on a non-secure site.The text was updated successfully, but these errors were encountered: