[Contacts] Only allow one contact picker per browsing context.
According to the spec, the contact picker can only be brought up once per browsing context until the operation is complete. Subsequent navigator.contacts.select calls should throw an InvalidState DOMException. https://wicg.github.io/contact-api/spec/#dom-contactsmanager-select Bug: 985702 Change-Id: I838534bd84877079eec7740c773d18567acac3a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724514 Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by:Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#681892}
Showing
Please register or sign in to comment