[wpt-sync] Sync PR 25755 - Web Share: restrict URL scheme to http and https
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25755 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25755
Details from upstream follow.
b'Eric Willigers <ericwilligers@chromium.org>' wrote:
Web Share: restrict URL scheme to http and https
We now follow the recent spec change limiting the permitted scheme
for shared urls to http and https - see
https://github.com/w3c/web-share/issues/173
https://github.com/w3c/web-share/pull/174
https://github.com/w3c/web-share/pull/177We make an exception if the page performing the share it itself loaded
from a different scheme (e.g. file) - in that case we allow the same
scheme to be used for the shared url.Bug: 1131755
Change-Id: I6abf0f9acd40ef79ec49379314e2ef3a81d3467eReviewed-on: https://chromium-review.googlesource.com/2425977
WPT-Export-Revision: 00601b33397c0e974ca88ca1a4b4aff5741549de
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad51856e9ee05fcd9a582103764cbea941e44b84
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 17 subtests
Status Summary
Firefox
OK : 1
FAIL: 17
Chrome
OK : 1
FAIL: 17
Safari
OK : 1
PASS: 16
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/web-share/canShare.tentative.https.html
canShare with no arguments (same as empty dictionary): FAIL (Chrome: FAIL, Safari: PASS)
canShare with an empty dictionary: FAIL (Chrome: FAIL, Safari: PASS)
canShare with a undefined argument (same as empty dictionary): FAIL (Chrome: FAIL, Safari: PASS)
canShare with a null argument (same as empty dictionary): FAIL (Chrome: FAIL, Safari: PASS)
canShare with a dictionary containing only surplus fields: FAIL (Chrome: FAIL, Safari: PASS)
canShare with an invalid URL: FAIL (Chrome: FAIL, Safari: PASS)
canShare with data URL: FAIL (Chrome: FAIL, Safari: FAIL)
canShare with attribute undefined is equivalent to omitting the attribute: FAIL (Chrome: FAIL, Safari: PASS)
canShare with title: FAIL (Chrome: FAIL, Safari: PASS)
canShare with text: FAIL (Chrome: FAIL, Safari: PASS)
canShare with URL: FAIL (Chrome: FAIL, Safari: PASS)
canShare with null attribute: FAIL (Chrome: FAIL, Safari: PASS)
canShare with number: FAIL (Chrome: FAIL, Safari: PASS)
canShare with object: FAIL (Chrome: FAIL, Safari: PASS)
canShare with unexpected field: FAIL (Chrome: FAIL, Safari: PASS)
canShare with empty URL: FAIL (Chrome: FAIL, Safari: PASS)
canShare with URL having no scheme: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/527027b78337 [wpt PR 25755] - Web Share: restrict URL scheme to http and https, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•