Bug 1643205 - Navigator's share() must consume user activation r=edgar
commit6497336b8a934103d1467c6be109a1d420e7b730
authorMarcos Cáceres <mcaceres@mozilla.com>
Tue, 23 Jun 2020 09:14:47 +0000 (23 09:14 +0000)
committerMarcos Cáceres <mcaceres@mozilla.com>
Tue, 23 Jun 2020 09:14:47 +0000 (23 09:14 +0000)
treefb913b1d6c45ec2cf61bc565ab3bde27249c2c83
parenteb7d6e7782f51395b7fb042d6be13013beace790
Bug 1643205 - Navigator's share() must consume user activation r=edgar

navigator.share() must consume the user activation.

Differential Revision: https://phabricator.services.mozilla.com/D79640
dom/base/Navigator.cpp
dom/moz.build
dom/webshare/moz.build [new file with mode: 0644]
dom/webshare/test/mochitest/mochitest.ini [new file with mode: 0644]
dom/webshare/test/mochitest/test_navigator_share_consume_user_activation.html [new file with mode: 0644]
testing/web-platform/meta/web-share/share-consume-activation.https.html.ini [new file with mode: 0644]
testing/web-platform/meta/web-share/share-url-invalid.https.html.ini
testing/web-platform/tests/web-share/share-consume-activation.https.html [new file with mode: 0644]
testing/web-platform/tests/web-share/share-empty.https.html
testing/web-platform/tests/web-share/share-url-invalid.https.html