File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,6 @@ <h4>
161
161
perform any kind of "always use this target" to bypass the UI in
162
162
subsequent share operations.
163
163
</ div >
164
- < div class ="note ">
165
- The user agent MAY differentiate between the three different causes
166
- of < a data-cite ="!WEBIDL#aborterror "> < code > AbortError</ code > </ a >
167
- failure (e.g., with a different error string in each case).
168
- However, it MUST NOT expose the identity of the target chosen by
169
- the user, or reveal the identity of any of the available targets.
170
- </ div >
171
164
</ section >
172
165
</ section >
173
166
< section data-dfn-for ="ShareData ">
@@ -307,6 +300,12 @@ <h2>
307
300
< a > < code > navigator.share</ code > </ a > . This information could be used for
308
301
fingerprinting, as well as leaking details about the user's device.
309
302
</ li >
303
+ < li > Implementors should carefully consider what information is revealed
304
+ in the error message when < a > < code > navigator.share</ code > </ a > is
305
+ rejected. Even distinguishing between the case where no targets are
306
+ available and user cancellation may reveal information about which apps
307
+ are installed on the user's device.
308
+ </ li >
310
309
< li > On every call to < a > < code > navigator.share</ code > </ a > , the user MUST
311
310
be presented with a dialog asking them to select a target application
312
311
(even if there is only one possible target). This surface serves as a
You can’t perform that action at this time.
0 commit comments