Closed
Bug 950269
Opened 11 years ago
Closed 11 years ago
[B2G][NFC] Rename "tech" to "techList" in techDiscovered
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 C2/1.4 S2(17jan)
People
(Reporter: dgarnerlee, Assigned: dgarnerlee)
References
Details
Attachments
(2 files, 2 obsolete files)
Rename the list of NFC techs from "tech" to "techlist" or "techs".
Fix a FIXME in the System App nfc_manager.js. nfc_worker.js sent a techlist as "tech", and nfc_manager will send the entire discovered techlist over to TagDiscovered events if the tag isn't known.
TagDiscovered, is not yet supported, but will be be if NFC tranceive() functionality is added for an unknown tag type.
This also needs Gecko modification, adding dependency back on Bug 860906.
Also I purpose to call it 'techList'.
Blocks: b2g-nfc
Summary: [B2G][NFC] NFC Manager: Rename list "tech" to "techlist" → [B2G][NFC] Rename "tech" to "techList" in techDiscovered
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dgarnerlee
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8357956 -
Attachment description: Bug 950269: Rename "tech" to "techList" in techDiscovered. Gaia side. → Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gaia side)
Assignee | ||
Updated•11 years ago
|
Attachment #8357956 -
Flags: review?(alive)
Assignee | ||
Comment 4•11 years ago
|
||
Remove whitespace (nit).
Attachment #8357955 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8358029 -
Flags: review?(allstars.chh)
Updated•11 years ago
|
Attachment #8357956 -
Flags: review?(alive) → review+
Comment on attachment 8358029 [details] [diff] [review]
Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gecko side)
Review of attachment 8358029 [details] [diff] [review]:
-----------------------------------------------------------------
The patch is okay, but format is not.
Use 8 lines of syntax, and remove the [Patch] in the patch title.
Try
git format-patch -k -U8 parent_commit
Attachment #8358029 -
Flags: review?(allstars.chh)
Assignee | ||
Comment 6•11 years ago
|
||
Add -U8 param to patch generation.
Attachment #8358029 -
Attachment is obsolete: true
Comment on attachment 8358666 [details] [diff] [review]
Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gecko side) r=allstars.chh
Review of attachment 8358666 [details] [diff] [review]:
-----------------------------------------------------------------
Add r=me
Attachment #8358666 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #8357956 -
Attachment description: Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gaia side) → Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gaia side) r=alive
Assignee | ||
Updated•11 years ago
|
Attachment #8358666 -
Attachment description: Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gecko side) → Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gecko side) r=allstars.chh
Assignee | ||
Comment 8•11 years ago
|
||
In progress try (re-triggering stray failed tests):
https://tbpl.mozilla.org/?tree=Try&rev=6a5f8e12ee59
Assignee | ||
Comment 9•11 years ago
|
||
Alive: check-in needed as well on Gaia side.
Remaining try failure has bug already open it seems: https://bugzilla.mozilla.org/show_bug.cgi?id=951146
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/49469528faecbf3089997bac486a824bcd18dde8
https://hg.mozilla.org/integration/b2g-inbound/rev/bb7f35d963ed
Flags: in-testsuite-
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(alive)
Hi Garner
You forgot replace this line
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/nfc_manager.js#L370
this._debug('command.tech: ' + command.tech);
Comment 14•11 years ago
|
||
Please file follow up bug.
BTW, I feel that it's time to write unit test for nfc manager.
Assignee | ||
Comment 15•11 years ago
|
||
Yoshi, thanks. I'll open a new bug to fix.
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #14)
> Please file follow up bug.
> BTW, I feel that it's time to write unit test for nfc manager.
Yes, we've been working without even basic test tool integration since the nfcd swapout. Workweek agenda item?
You need to log in
before you can comment on or make changes to this bug.
Description
•