惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
博客园_首页
Vercel News
Vercel News
WordPress大学
WordPress大学
美团技术团队
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Y
Y Combinator Blog
博客园 - 【当耐特】
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
腾讯CDC
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Recent Announcements
Recent Announcements
雷峰网
雷峰网
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
The Register - Security
The Register - Security
Jina AI
Jina AI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
P
Privacy & Cybersecurity Law Blog
Recorded Future
Recorded Future
Help Net Security
Help Net Security
N
News and Events Feed by Topic
博客园 - Franky
P
Proofpoint News Feed
L
LINUX DO - 热门话题
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
D
Docker
Google DeepMind News
Google DeepMind News
有赞技术团队
有赞技术团队
IT之家
IT之家
Security Latest
Security Latest
L
LangChain Blog
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks

Recent Commits to web-share:main

Merge pull request #289 from siusin/main · w3c/web-share@e871726 update the editor list · w3c/web-share@a296150 Editorial: fix typos and markup · w3c/web-share@3faf529 Editorial: fix typo (#283) · w3c/web-share@bc1468c Merge pull request #277 from w3c/WebShare-rec · w3c/web-share@0b15b86 chore: prepare for REC · w3c/web-share@aa811f9 chore: fix wrong pass rate · w3c/web-share@e441b96 chore: remove explanation of failures col · w3c/web-share@f511e0b chore: move disabled-by-permissions-policy.https.sub.html to excluded… · w3c/web-share@6681897 chore: tidy · w3c/web-share@0eaf73c Make Permissions-Policy HTTP header OPTIONAL (#275) · w3c/web-share@d0ea0fe Editorial: add static implementation report (#274) · w3c/web-share@0a7a70c Editorial: fix IDL linking · w3c/web-share@35980bb Editorial: explain Changelog · w3c/web-share@c4b6677 chore: clean up changelog · w3c/web-share@aa0cb86 chore: tidy · w3c/web-share@8a04511 Editorial: improve a11y guidelines for share sheet (#270) · w3c/web-share@49300de Editorial: thank wide review groups in acknowledgements (#269) · w3c/web-share@783e54b Editorial: switch to 'terminate this algorithm' (#268) · w3c/web-share@5c9977c
Editorial: note canShare is not future compatible (#273) · w3c/web-share@7f78426
marcoscacere · 2023-03-01 · via Recent Commits to web-share:main
Original file line numberDiff line numberDiff line change

@@ -488,6 +488,32 @@ <h3>

488488

object/API base URL=].

489489

</li>

490490

</ol>

491+

<aside class="note" title="canShare() is not future compatible">

492+

<p>

493+

The `canShare()` method of the Web Share API may return false

494+

positive results when used with objects that contain members not

495+

defined in the `ShareData` dictionary. Because of how WebIDL

496+

works, browsers drop unknown members from the input object and

497+

will return `true` when testing the remaining members. This behavior is

498+

not future-compatible.

499+

</p>

500+

<p>

501+

To ensure reliable testing of shareability, developers can

502+

construct the input object using only members defined in the

503+

{{ShareData}} dictionary. If an object contains additional

504+

members, it should be destructured to only test the defined

505+

members individually.

506+

</p>

507+

<p>

508+

Although this doesn't affect any implementations today,

509+

the Working Group will work towards addressing this issue in a future

510+

revision of the specification - especially if we make any

511+

amendments to the `ShareData` dictionary.

512+

To contribute ideas for how to address this issue, see

513+

<a href="https://github.com/w3c/web-share/issues/108">issue #108</a>

514+

on GitHub.

515+

</p>

516+

</aside>

491517

</section>

492518

<section>

493519

<h3>