Web Share: Spec change: Throw a TypeError if nothing is shared |
||
Issue description
Chrome Version: 61
OS: Android
What steps will reproduce the problem?
(1) In console, navigator.share({}).
What is the expected result?
TypeError
What happens instead?
Successful share with no data.
The spec was changed in https://github.com/WICG/web-share/pull/50.
(Also a minor change, the IDL should have "optional" for the ShareData parameter; this should not have any noticeable effect, still throwing a TypeError if used with no arguments, due to the above change.)
,
Jul 13 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jul 13 2017