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)

x86_64
Linux
defect
Not set
trivial

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.
Blocks: b2g-nfc
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: nobody → dgarnerlee
Attachment #8357956 - Attachment description: Bug 950269: Rename "tech" to "techList" in techDiscovered. Gaia side. → Bug 950269: Rename "tech" to "techList" in techDiscovered. (Gaia side)
Attachment #8357956 - Flags: review?(alive)
Remove whitespace (nit).
Attachment #8357955 - Attachment is obsolete: true
Attachment #8358029 - Flags: review?(allstars.chh)
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)
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+
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
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
In progress try (re-triggering stray failed tests): https://tbpl.mozilla.org/?tree=Try&rev=6a5f8e12ee59
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
Hi Alive: Gaia: check-in needed.
Flags: needinfo?(alive)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Blocks: 959109
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);
Please file follow up bug. BTW, I feel that it's time to write unit test for nfc manager.
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.

Attachment

General

Creator:
Created:
Updated:
Size: