diff --git a/index.html b/index.html index b1f33fc..689db3e 100644 --- a/index.html +++ b/index.html @@ -90,17 +90,9 @@

           partial interface Navigator {
-            [SecureContext] Promise<void> share(optional ShareData data);
+            [SecureContext] Promise<void> share(optional ShareData data = {});
           };
         
-
- The data argument is marked as "optional", but it is - effectively required; share() will return a rejected promise - with a {{TypeError}} if called with no arguments. WebIDL - mandates that it be optional - because the dictionary members are all optional. See WebIDL Issue #130. -

User agents that do not support sharing SHOULD NOT expose share() on the Navigator interface.