Closed Bug 1003775 Opened 7 years ago Closed 6 years ago

B2G NFC: removePeerTarget in Nfc.js doesn't work for Browser app

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allstars.chh, Unassigned)

References

Details

The function removePeerTarget in Nfc.js introduced in Bug 948870 doesn't work.

The targetInfo.target === target result is always false, even they should be the same targets.

STR:

1. Launch an app with registering onpeerready callback. (for example, Browser app).
2. Long press HOME key to kill browser app.
3. Call navigator.mozNfc.checkP2pRegistration with the manifest of Browser app.


Expect result: 
The check should fail, 

Actual result:
The check succeed.
Assignee: nobody → allstars.chh
Right now I found seems some app could work well, 
like if I launch Galley, it could be succesfully removed,
however the Browser app in Comment 0 isn't removed at all.
Summary: B2G NFC: removePeerTarget in Nfc.js doesn't work → B2G NFC: removePeerTarget in Nfc.js doesn't work for Browser app
As Browser app is already merged with System Browser in v2.1,
I'll mark this bug as WONTFIX.
Assignee: allstars.chh → nobody
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.