Closed Bug 1004438 Opened 10 years ago Closed 10 years ago

[NFC] NDEF TNF Absolute URI should be handled properly in NfcManager

Categories

(Firefox OS Graveyard :: NFC, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tauzen, Assigned: tauzen)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36

Steps to reproduce:

Currently NDEF records with TNF Absolute URI are handled the same as TNF well know with RTD URI. Both records are formatted in NfcManager.formatURIRecord, this method assumes that NDEF payload carries URL, which is ok in case of RTD URI. 
According to the spec TNF Absolute URI record carries URI in record type, this URI can define the format of payload.
I have test case for that in Bug 1000981.
Blocks: NFC-Gaia
Depends on: 1000981
Assignee: nobody → kmioduszewski
Attachment #8418880 - Flags: review?(alive)
Comment on attachment 8418880 [details] [review]
pull-request-1004438.txt

r=me
Attachment #8418880 - Flags: review?(alive) → review+
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: