w3c / web-share-target

Web API proposal for receiving shared data
https://w3c.github.io/web-share-target/
Other
191 stars 20 forks source link

Omit any field that is not present in ShareData. #46

Closed mgiuca closed 6 years ago

mgiuca commented 6 years ago

No longer creates a "key=" parameter (with an empty value) if the field is missing in the shared data.

Closes #45.

ewilligers commented 6 years ago

ShareTargetParams and its members will also need updating:

      If the ShareData contains no information for a given
      member, the query parameter will receive an empty string.