Closed
Bug 946047
Opened 12 years ago
Closed 12 years ago
[B2G][Settings][NFC] Fix HasNfcSupport in MozNfc.webidl
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(blocking-b2g:1.3+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed)
RESOLVED
FIXED
| blocking-b2g | 1.3+ |
People
(Reporter: dgarnerlee, Assigned: dgarnerlee)
References
Details
Attachments
(3 files)
In Bug 939056, there's a small webidl fix to Settings UI, NFC that also completely hides the NFC setting from the UI.
This bug just fixes that MozNfc.webidl, by adding HasNfcSupport to the definition.
The only way to get it to show on Nexus 4 (or other targeted phones), is to add the "nfc-read" permission to the settings' manifest.webapp file.
| Assignee | ||
Updated•12 years ago
|
Attachment #8342082 -
Flags: review?(khuey)
| Assignee | ||
Comment 1•12 years ago
|
||
Ken, since we don't have an approved solution in place in 939056, I made this bug. If we land it all at once soon, please close this bug.
Flags: needinfo?(kchang)
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8342542 -
Flags: review?(ehung)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dgarnerlee
Attachment #8342082 -
Flags: review?(khuey) → review+
Comment 3•12 years ago
|
||
Comment on attachment 8342542 [details] [review]
Settings UI permission fix if HasNfcSupport is added to MozNfc.webidl
looks good to me on explicitly requesting NFC permission in manifest file.
Please rebase your patch for merge. Thanks!
Attachment #8342542 -
Flags: review?(ehung) → review+
| Assignee | ||
Updated•12 years ago
|
Attachment #8342082 -
Attachment description: 0001-Fix-HasNfcSupport-in-MozNfc.webidl.patch → 0001-Fix-HasNfcSupport-in-MozNfc.webidl.patch r=khuey
| Assignee | ||
Comment 4•12 years ago
|
||
| Assignee | ||
Comment 5•12 years ago
|
||
Fix mochitest-8 test_interfaces.html MozNfc global scope declaration. HasNfcSupport determines whether MozNfc appears.
| Assignee | ||
Updated•12 years ago
|
Attachment #8344068 -
Flags: review?(khuey)
| Assignee | ||
Comment 6•12 years ago
|
||
See mochitest-8 testcase fix in this try run:
https://tbpl.mozilla.org/?tree=Try&rev=ac83161bfdd4
| Assignee | ||
Comment 7•12 years ago
|
||
Gecko side webidl: check-in needed.
Gaia: Travis-CI tests: keyboard test bugged, but Settings UI change is unlikely to be related: https://travis-ci.org/mozilla-b2g/gaia/builds/15023166
Flags: needinfo?(ehung)
| Assignee | ||
Comment 8•12 years ago
|
||
Travis-ci, new results (running): https://travis-ci.org/mozilla-b2g/gaia/builds/15070342
Comment 9•12 years ago
|
||
I can't merge it since Gaia tree closed again. keep the ni flag to remind me later.
Comment 10•12 years ago
|
||
travis failed even I re-tried it twice. Someone told me rebase PR will help. Can you do it?
Flags: needinfo?(ehung) → needinfo?(dgarnerlee)
| Assignee | ||
Comment 11•12 years ago
|
||
I just pushed to github from the lastest Gaia: https://travis-ci.org/mozilla-b2g/gaia/builds/15209799, base: 6865061768d4c78f391dee4ff04d825f8d829843
Flags: needinfo?(dgarnerlee)
| Assignee | ||
Comment 12•12 years ago
|
||
Rebased and pushed yet again, and it actually passed!
https://travis-ci.org/mozilla-b2g/gaia/builds/15251993
Flags: needinfo?(ehung)
Comment 13•12 years ago
|
||
(In reply to Garner Lee from comment #12)
> Rebased and pushed yet again, and it actually passed!
> https://travis-ci.org/mozilla-b2g/gaia/builds/15251993
Gaia: merged into master https://github.com/mozilla-b2g/gaia/commit/3d0b2fbda4a3495756ae700f011b59c4e22dec0d
Flags: needinfo?(ehung)
Attachment #8344068 -
Flags: review?(khuey) → review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 14•12 years ago
|
||
Hi Ken, considering the other bug just opened, this is more of a bug fix than a change to the DOM. sr still needed?
Comment 15•12 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: b2g-nfc
Component: Gaia::Settings → NFC
Comment 18•12 years ago
|
||
Hi, Joe, Tarako depends on bug 939056 which is blocked by this bug. So I think this buy also should block 1.3+ as bug 939056.
Flags: needinfo?(jcheng)
Updated•12 years ago
|
blocking-b2g: --- → 1.3+
Flags: needinfo?(jcheng)
Whiteboard: [tarako]
Comment 19•12 years ago
|
||
status-b2g-v1.3:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Updated•12 years ago
|
status-b2g-v1.3T:
--- → fixed
Comment 20•12 years ago
|
||
status-b2g-v1.3T: fixed in tarako branch, remove [tarako] in whiteboard
Whiteboard: [tarako]
You need to log in
before you can comment on or make changes to this bug.
Description
•