blob: c64ecd067c82d050f989f1cbe005fe0b33bb9e96 [file] [log] [blame]
<script>
'use strict';
window.onload = function() {
navigator.contacts.select(['name', 'email'], { multiple: true })
.then(results => parent.postMessage({ errorMsg: '' }, '*'))
.catch(exception => parent.postMessage({ errorMsg: exception.name }, '*'));
}
</script>