Open Bug 1586364 Opened 6 years ago Updated 5 months ago

Simulate Web Share Target requests based on manifest

Categories

(DevTools :: Application Panel, enhancement, P3)

71 Branch
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: tigeroakes, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0

Expected results:

We're going to start working on Web Share Target support in Fenix. Web Share Target let's other Android apps share to a PWA by making a GET or POST request with a few query parameters populated by the browser.

Share Target can be tested by just manually making a request. It would be great if the Applications panel could display some inputs and a button to simulate a share.

The user flow would probably look like a couple of text inputs for "title", "text", and "url", as well as a file input for "files". The manifest would define the request to make when this data is submitted.

EXAMPLE : manifest.webmanifest FaceTime for Windows
{
"name": "Includinator",
"share_target": {
"action": "share.html",
"params": {
"title": "name",
"text": "description",
"url": "link"
}
}
}

https://www.facetimeapp.ltd/facetime-for-pc-windows-download/

Severity: normal → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.