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

推荐订阅源

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-target:main

Refactor: remove WebIDL (#106) · w3c/web-share-target@72dd80f Possibility of transferring user id (#100) · w3c/web-share-target@0782f1a chore: use group option in config · w3c/web-share-target@fadadfb chore: use main branch in config · w3c/web-share-target@a7a06ec Editorial: reference Encoding's 'UTF-8' directly (#96) · w3c/web-share-target@a703396 Accessibility considerations (#88) · w3c/web-share-target@93bf095 editorial: link to urlencoded serializer (#92) · w3c/web-share-target@a8d4a5d chore: cleanup some ReSpec usage (#91) · w3c/web-share-target@b27e5a8 Update w3c.json · w3c/web-share-target@41b27b5 Long share requests may truncate with GET (#82) · w3c/web-share-target@dd4e83f Encourage redirect after POST (#80) · w3c/web-share-target@0d9d25f Remove 'early draft' wording (#79) · w3c/web-share-target@fc831cb Skip bad files entries and make accept required (#78) · w3c/web-share-target@83a63b0 Validate enctype when method is GET (#72) · w3c/web-share-target@4078bc4 Support file sharing (#53) · w3c/web-share-target@76eabad [web-share-target] Introduce Level 2 Spec (#71) · w3c/web-share-target@a5f4eb2 Potentially trustworthy origins (#69) · w3c/web-share-target@b3c4d76 Mention plan for sharing files (#65) · w3c/web-share-target@3fccfd1 Retire links to Interface document (#62) · w3c/web-share-target@5279a5a
chore: migrate to WebApps WG (#95) · w3c/web-share-target@6025309
2020-06-05 · via Recent Commits to web-share-target:main

This repository was archived by the owner on Jun 30, 2026. It is now read-only.

File tree

Original file line numberDiff line numberDiff line change

@@ -1,15 +1,22 @@

1-

# Web Platform Incubator Community Group

1+

# Contributing

22
3-

This repository is being used for work in the W3C Web Platform Incubator

4-

Community Group, governed by the [W3C Community License Agreement

5-

(CLA)](http://www.w3.org/community/about/agreements/cla/). To make substantive

6-

contributions, you must join the CG.

3+

Everyone is welcome to contribute to this specification.

74
8-

If you are not the sole contributor to a contribution (pull request), please

9-

identify all contributors in the pull request comment.

5+

Any simple editorial contribution can simply be done with a GitHub Pull Request.

6+

You can even do an inline edit of the file on GitHub.

107
11-

To add a contributor (other than yourself, that's automatic), mark them one per

12-

line as follows:

8+

For more substantial contributions, please first start a thread in the

9+

[webapps mailing list](https://lists.w3.org/Archives/Public/public-webapps/) at the W3C.

10+
11+

Note: Contributions to this repository are intended to become part of Recommendation-track documents governed by the

12+

[W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/) and

13+

[Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software). To make substantive contributions to specifications, you must either participate

14+

in the relevant W3C Working Group or make a non-member patent licensing commitment.

15+
16+

If you are not the sole contributor to a contribution (pull request), please identify all

17+

contributors in the pull request comment.

18+
19+

To add a contributor (other than yourself, that's automatic), mark them one per line as follows:

1320
1421

```

1522

+@github_username

@@ -21,5 +28,29 @@ If you added a contributor by mistake, you can remove them in a comment with:

2128

-@github_username

2229

```

2330
24-

If you are making a pull request on behalf of someone else but you had no part

25-

in designing the feature, you can remove yourself with the above syntax.

31+

If you are making a pull request on behalf of someone else but you had no part in designing the

32+

feature, you can remove yourself with the above syntax.

33+
34+

# Style guide to contributors

35+
36+

- the spec uses [ReSpec](https://www.w3.org/respec/)

37+

- the spec is tidied using [HTML5 Tidy](https://github.com/w3c/tidy-html5). For

38+

instructions on running HTML5 tidy, see below.

39+

- put comments in front of sections, for better readability with

40+

syntax coloring editors.

41+
42+

# Running HTML5 Tidy

43+
44+

Please make sure you have HTML5 tidy installed, instead of

45+

the the one that ships with \*nix systems. You can comfirm this by running:

46+
47+

```bash

48+

tidy --version #HTML Tidy for HTML5 (experimental) for ...

49+

```

50+
51+

Once you have confirmed (make sure you have committed your changes before

52+

running tidy, as the changes are destructive ... in a good way:)):

53+
54+

```bash

55+

tidy -config tidyconfig.txt -o index.html index.html

56+

```

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,2 @@

1-

All Reports in this Repository are licensed by Contributors

2-

under the

3-

[W3C Software and Document License](http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document).

4-
5-

Contributions to Specifications are made under the

6-

[W3C CLA](https://www.w3.org/community/about/agreements/cla/).

1+

All documents in this Repository are licensed by contributors

2+

under the [W3C Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software).

Original file line numberDiff line numberDiff line change

@@ -6,8 +6,8 @@ This site details a proposal to add a capability for websites to receive shared

66

data from other sites and apps.

77
88

* [Explainer document](docs/explainer.md), a high-level overview of the proposal.

9-

* [Specification - Level 1](https://wicg.github.io/web-share-target/).

10-

* [Specification - Level 2](https://wicg.github.io/web-share-target/level-2/).

9+

* [Specification - Level 1](https://w3c.github.io/web-share-target/).

10+

* [Specification - Level 2](https://w3c.github.io/web-share-target/level-2/).

1111

* [Native integration survey](docs/native.md), for platform-specific matters.

1212
1313

This is a product of the [Ballista

Original file line numberDiff line numberDiff line change

@@ -17,7 +17,7 @@

1717

<body>

1818

<h1>Web Share Target Test App</h1>

1919

<div id="output"></div>

20-

<p>This is a test app for the <a href="https://github.com/WICG/web-share-target">Web

20+

<p>This is a test app for the <a href="https://github.com/w3c/web-share-target">Web

2121

Share Target API</a>. It will only work in browsers that have implemented the

2222

draft proposal. At the time of writing, this works with:</p>

2323

<ul>

@@ -27,8 +27,8 @@ <h1>Web Share Target Test App</h1>

2727

<li>To "register" this app with Google Chrome, click the Chrome menu

2828

&rarr; More tools &rarr; Add to desktop/shelf (you can cancel the

2929

dialog; this just forces the manifest to download). Then it should

30-

show up as a target when using <a href="https://github.com/WICG/web-share">Web

31-

Share</a> (<a href="https://wicg.github.io/web-share/demos/share.html">demo

30+

show up as a target when using <a href="https://github.com/w3c/web-share">Web

31+

Share</a> (<a href="https://w3c.github.io/web-share/demos/share.html">demo

3232

site</a>).

3333

</li>

3434

</ul>

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,7 @@ shared data from other sites or apps. Many modern operating systems have a

88

The goal is to allow web apps to appear in the UI for picking an app to share

99

to.

1010
11-

In combination with the [Web Share API](https://github.com/WICG/web-share)

11+

In combination with the [Web Share API](https://github.com/w3c/web-share)

1212

(being proposed in parallel), this would allow cross-sharing between websites on

1313

any platform (even those without a native sharing system).

1414

@@ -17,7 +17,7 @@ project](https://github.com/chromium/ballista), which aims to explore

1717

website-to-website and website-to-native interoperability.

1818
1919

See also:

20-

* [Specification](https://wicg.github.io/web-share-target/).

20+

* [Specification](https://w3c.github.io/web-share-target/).

2121

* [Native integration survey](native.md), for platform-specific matters.

2222
2323

## User flow

@@ -56,7 +56,7 @@ underlying system, as explored in the next section.

5656

### Sharing from web to web on mobile

5757
5858

Here we see the interaction between the [Web Share

59-

API](https://github.com/WICG/web-share) and the Share Target API. You could

59+

API](https://github.com/w3c/web-share) and the Share Target API. You could

6060

also share from a native app (depending on the system).

6161
6262

![Share on mobile: web to web](mocks/share_mobile_web_web.png)

@@ -165,7 +165,7 @@ native apps.

165165

### Why not use registerProtocolHandler?

166166
167167

This is discussed at length in the [Web Share

168-

Explainer](https://github.com/WICG/web-share/blob/master/docs/explainer.md#user-content-why-not-make-a-share-uri-scheme-like-mailto-instead-of-a-javascript-api).

168+

Explainer](https://github.com/w3c/web-share/blob/master/docs/explainer.md#user-content-why-not-make-a-share-uri-scheme-like-mailto-instead-of-a-javascript-api).

169169

If we used a URI scheme for Share (instead of an API), then it would make sense

170170

to use the existing

171171

[registerProtocolHandler](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,3 @@

11

# Web Share Target API Interface

22
3-

See [Specification](https://wicg.github.io/web-share-target/).

3+

See [Specification](https://w3c.github.io/web-share-target/).

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,7 @@ This document is an informal and incomplete survey of various operating systems'

66

share systems, for exploring how a user agent might automatically map the [Share

77

Target API](explainer.md) into the native system. See also: [Share API Native

88

Integration

9-

Survey](https://github.com/WICG/web-share/blob/master/docs/native.md).

9+

Survey](https://github.com/w3c/web-share/blob/master/docs/native.md).

1010
1111

*Note:* I (mgiuca@chromium.org) am not very familiar with these details. I

1212

gathered this information from reading the online documentation and

@@ -69,7 +69,7 @@ APIs. I would appreciate being informed of any errors.

6969

## Summary

7070
7171

Unlike the web-to-native sharing (in the [Share

72-

API](https://github.com/WICG/web-share), which is generally pretty

72+

API](https://github.com/w3c/web-share), which is generally pretty

7373

straightforward to route into a system share, native-to-web is usually hard or

7474

impossible for one reason: operating systems don't like letting one application

7575

dynamically register multiple handlers for things (with the notable exception of

@@ -81,4 +81,4 @@ On these platforms, implementations have two non-ideal options:

8181

1. Declare the browser itself as a system share target, then have users pick the

8282

browser, and display a sub-picker within the browser for web apps, or

8383

2. Only support web-to-web sharing (showing a picker within the browser when a

84-

website uses the [Share API](https://github.com/WICG/web-share)).

84+

website uses the [Share API](https://github.com/w3c/web-share)).

Original file line numberDiff line numberDiff line change

@@ -9,33 +9,27 @@

99

defer></script>

1010

<script class='remove'>

1111

var respecConfig = {

12-

specStatus: "CG-DRAFT",

13-

edDraftURI: "https://wicg.github.io/web-share-target/",

12+

specStatus: "unofficial", // until we publish a FPWD!

1413

github: {

15-

repoURL: "https://github.com/WICG/web-share-target/",

14+

repoURL: "w3c/web-share-target",

1615

branch: "master"

1716

},

18-

shortName: "web-share-target",

19-

processVersion: 2017,

20-

wg: "Web Incubator Community Group",

21-

wgURI: "https://wicg.io",

17+

wg: "Web Applications Working Group",

18+

wgURI: "https://www.w3.org/2019/webapps/",

19+

wgPatentURI: "https://www.w3.org/2004/01/pp-impl/114929/status",

2220

editors: [{

2321

name: "Matt Giuca",

2422

company: "Google Inc.",

25-

companyURL: "https://google.com"

23+

companyURL: "https://google.com",

24+

w3cid: 91260

2625

},

2726

{

2827

name: "Eric Willigers",

2928

company: "Google Inc.",

30-

companyURL: "https://google.com"

31-

}],

32-

otherLinks: [{

33-

key: "Implementation status",

34-

data: [{

35-

value: "Chromium",

36-

href: "https://www.chromestatus.com/features/5662315307335680"

37-

}]

29+

companyURL: "https://google.com",

30+

w3cid: 67534

3831

}],

32+

// eventually add mdn: true, and caniuse: "web-share-target"

3933

xref: "web-platform",

4034

};

4135

</script>