Chromium Code Reviews
DescriptionWebShare: Fixed the API occasionally breaking on a particular page.
On Android, the WebShare Mojo pipe would occasionally be closed due to
the Java service dropping a callback without calling it. Now always
calls the callback.
Also partially fixes crbug.com/636274; previously the navigator.share
promise would not be rejected if the user cancels the picker. Now it is
rejected (though not immediately). This needs to be fixed better but at
least the promise will (eventually) be resolved or rejected.
BUG=640324, 636274
Committed: https://crrev.com/06be389804f232f4e992be8e95b24322a1062ebb
Cr-Commit-Position: refs/heads/master@{#416862}
Patch Set 1 #Patch Set 2 : Rename cleanup to cancel and add TODO. #
Total comments: 2
Patch Set 3 : Get rid of mTargetChosen. #Patch Set 4 : Begrudgingly use American spelling for 'canceled'. #
Messages
Total messages: 10 (3 generated)
|
||||||||||||||||||||||||||||