Bug 230088 - [Web-Share] handle non-fully active documents
Summary: [Web-Share] handle non-fully active documents
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://github.com/w3c/web-share/pull...
Keywords: InRadar
Depends on:
Reported: 2021-09-09 01:55 PDT by Marcos Caceres
Modified: 2021-09-10 11:34 PDT (History)
7 users (show)

See Also:

Patch (6.84 KB, patch)
2021-09-09 03:01 PDT, Marcos Caceres
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2021-09-09 01:55:30 PDT
The Web Share spec now defines consistent behavior for when documents are non-fully active: 


 * canShare() -> false
 * share() -> promise rejected with InvalidStateError
Comment 1 Marcos Caceres 2021-09-09 03:01:25 PDT
Created attachment 437724 [details]
Comment 2 EWS Watchlist 2021-09-09 03:02:40 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 3 Marcos Caceres 2021-09-09 03:09:58 PDT
Devin, Tim, following up on the discussion from:
Comment 4 Marcos Caceres 2021-09-09 03:11:44 PDT
WPTests: https://github.com/web-platform-tests/wpt/pull/30417
Comment 5 EWS 2021-09-10 11:33:03 PDT
Committed r282282 (241558@main): <https://commits.webkit.org/241558@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437724 [details].
Comment 6 Radar WebKit Bug Importer 2021-09-10 11:34:22 PDT