File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 197
197
li >
198
198
< li > Assert: |url| is {{URL}}.
199
199
li >
200
- < li > If |url|'s [=URL/scheme=] is not "http" or "https", return
201
- < a > a promise rejected witha > {{TypeError}}.
202
- li >
203
200
< li > Set |data| to a copy of |data|, with its {{ShareData/url}}
204
201
member set to the result of running the < a > URL serializera >
205
202
on |url|.
308
305
li >
309
306
< li > If |url| is failure, return false.
310
307
li >
308
+ < li > If |url|'s [=URL/scheme=] is not "http" or "https", return
309
+ return false.
310
+ li >
311
311
ol >
312
312
li >
313
313
< li > Return true.
553
553
when information should be confidential, so forwarding any content
554
554
presents a risk. In particular, the {{ShareData/title}} might be
555
555
used by an attacker to trick a user into misinterpreting the nature
556
- of the content.
557
-
You can’t perform that action at this time.
0 commit comments