Skip to content

Commit d5dcf3f

Browse files
committed
Reword text about navigator.share being undefined.
1 parent 9042cd1 commit d5dcf3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/interface.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ modes, but not learn the identity of the chosen application):
6666
* The data could not be delivered to the target app (e.g., the chosen app could
6767
not be launched), or the target app explicitly rejected the share event.
6868

69-
The `navigator.share` method should be `undefined` if the user agent does not
70-
support any share targets.
69+
In a user agent that will never provide any share targets (e.g., on a platform
70+
that does not support sharing) `navigator.share` SHOULD be `undefined`, so that
71+
sites can use feature detection to avoid showing sharing UI.
7172

7273
## Share handlers
7374

0 commit comments

Comments
 (0)