Web Share: Only allow one share() call at a time #25747
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Spec:
https://w3c.github.io/web-share/#share-method
If a share() request is active when share() is called again, the new
share request fails immediately.
w3c/web-share#113
In content shell, the OS-integration for the share service is not
present. Instead of crashing in tests, we report a not implemented
error.
WPT web-share/share-sharePromise-internal-slot.https.html now passes -
it previously crashed.
w3c/web-share#183 improves consistency between
the test and the spec.
Protocols other that http and https are no longer supported by
share() or canShare().
w3c/web-share#174
canShare is being discussed in
w3c/web-share#177
Bug: 1002337, 1002514, 1131755
Change-Id: I4ec9f6eb03373fd5c6db1881df906a8df36ca4ff
Reviewed-on: https://chromium-review.googlesource.com/2427944
WPT-Export-Revision: 67becdcfa7f8a4b96652722d037eb4330bf471d2