Web Share: Share can succeed after rejected file share
If excessively large files, or too many files, were passed to navigator.share(), we rejected the request but also incorrectly updated state (client_ in NavigatorShare), leading to future share attempts failing with InvalidStateError "A earlier share had not yet completed." We now only set client_ when we are about to make a mojo call. Bug: 1146317 Change-Id: I8ced104d0c2486c75987847c0f23c2d632a6cc9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522813 Auto-Submit: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Glen Robertson <glenrob@chromium.org> Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#825243}
Showing
Please register or sign in to comment