Closed
Bug 1093483
Opened 10 years ago
Closed 10 years ago
Remove NFC_GECKO_ERROR_NOT_ENABLED error from Nfc.js
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allstars.chh, Assigned: dimi)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file, 3 obsolete files)
2.80 KB,
patch
|
dimi
:
review+
|
Details | Diff | Splinter Review |
If an app calls NFC API (power API excluded, like startPoll, stopPoll or powerOff) when NFC HW is not enabled, this API should throw, right now we treat it as onerror in DOMRequest.
Reporter | ||
Updated•10 years ago
|
No longer blocks: b2g-nfc-privilege
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dlee
Reporter | ||
Updated•10 years ago
|
Blocks: b2g-nfc-privilege
Assignee | ||
Comment 1•10 years ago
|
||
In this patch I treat |enable| as discovery mode because in listen mode NFC API should not be allowed.
Attachment #8528239 -
Flags: review?(allstars.chh)
Assignee | ||
Updated•10 years ago
|
Attachment #8528239 -
Attachment is obsolete: true
Attachment #8528239 -
Flags: review?(allstars.chh)
Assignee | ||
Updated•10 years ago
|
Summary: Calling NFC API when NFC is not enabled should throw → Remove NOT_ENABLED error from Nfc.js
Assignee | ||
Updated•10 years ago
|
Summary: Remove NOT_ENABLED error from Nfc.js → Remove NFC_GECKO_ERROR_NOT_ENABLED error from Nfc.js
Assignee | ||
Comment 2•10 years ago
|
||
In child process we will check |isLost| attribute to determine if tag/peer API is callable.
So check is enable in Nfc.js is not necessary
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8528274 -
Flags: review?(allstars.chh)
Reporter | ||
Updated•10 years ago
|
No longer blocks: b2g-nfc-privilege
Reporter | ||
Updated•10 years ago
|
Attachment #8528274 -
Flags: review?(allstars.chh) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Whiteboard: [p=1]
Reporter | ||
Comment 4•10 years ago
|
||
need to rebase since Bug 1085296 is landed.
Keywords: checkin-needed
Assignee | ||
Comment 5•10 years ago
|
||
rebase to latest code
Attachment #8528274 -
Attachment is obsolete: true
Attachment #8528978 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
rebase to latest code again.
Attachment #8528978 -
Attachment is obsolete: true
Attachment #8529661 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 9•10 years ago
|
||
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•