GoogleChrome/chrome-nfc — pull request #7 by beaufortfrancois (2014-03-18 08:36:24+00:00)
Title: Returns an empty array in chrome.nfc.getDevices when there are no results

So that we're consistent with the _chrome.usb_ API, it would be better to return an empty array instead of null in chrome.nfc.getDevices when there are no results.

See https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/extensions/api/usb/usb_api.cc&sq=package:chromium&type=cs&l=627