Web Share: navigator.share should be undefined in secure contexts (instead of runtime error) |
||
Issue descriptionChrome Version: 61 OS: All What steps will reproduce the problem? (1) Turn on chrome://flags#enable-experimental-web-platform-features. (2) Visit http://wicg.github.io/web-share/demos/share.html (3) Click Share What is the expected result? Error: Unsupported feature: navigator.share What happens instead? Error sharing: SecurityError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV). The IDL should have [SecureContext] on the method, rather than having a manual check at call time that it is in a secure context. [Spec compliance: https://wicg.github.io/web-share/#navigator-interface]
,
Jul 4 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 21 2017