Closed Bug 1033067 Opened 11 years ago Closed 11 years ago

onerror() not called for sendNDEF()

Categories

(Firefox OS Graveyard :: NFC, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: arno, Unassigned)

References

Details

the DOMRequest for sendNDEF() does not call onerror(). - Device A: Android - Device B: Flame - Gecko: 7a040f32448b2745197b6c0eb24c3b2ea9ad1686 - Gaia: edbf0a7962c087fade8da6aee508d2e4f194606c (SVIC repo) - nfcd: d0aa65b140a45016975ed0ecf35f280dd336e1d3 STR: - Turn off Bluetooth on both devices - Enable NFC on both devices - Pick an image in the gallery app on the device A - Approach both devices, trigger sharing from device A - Quickly remove device B The sendNDEF() in: https://github.com/svic/gaia/blob/master/apps/system/js/nfc_handover_manager.js#L228 should fail and its onerror() should be called. But it is not called.
Blocks: 998175
(In reply to Yoshi Huang[:allstars.chh] from comment #2) > I think you met Bug 1031993. Yep, you are right. sendNDEF() never gets called because getNFCPeer() throws an exception. This bug is a false alarm and should be closed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.