Chrome browser crashes when 'ndef.scan' is called immediately after physically scanning an NFC tag. If you physically scan an NFC tag, refresh the browser, and then call ndef.scan again, the browser will not crash.
When I use the Angular Router to navigate within my single-page web app without refreshing the page, the browser crashes when I navigate away and then back to my route that has the component with the NDEFReader object and ndef.scan call.
Chrome browser crashes when 'ndef.scan' is called immediately after physically scanning an NFC tag. If you physically scan an NFC tag, refresh the browser, and then call ndef.scan again, the browser will not crash.
When I use the Angular Router to navigate within my single-page web app without refreshing the page, the browser crashes when I navigate away and then back to my route that has the component with the NDEFReader object and ndef.scan call.
Full code: https://github.com/GoogleChrome/samples/blob/gh-pages/web-nfc/index.js
Steps to reproduce