Closed Bug 1000678 Opened 11 years ago Closed 11 years ago

Don't initiate NFC sharing when on the browser start page

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.0, tracking-b2g:backlog, b2g-v2.0 affected, b2g-v2.1 unaffected, b2g-v2.2 unaffected, b2g-master unaffected)

VERIFIED FIXED
2.0 S2 (23may)
feature-b2g 2.0
tracking-b2g backlog
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- unaffected
b2g-v2.2 --- unaffected
b2g-master --- unaffected

People

(Reporter: ashiue, Assigned: benfrancis)

References

Details

(Whiteboard: [systemsfe][p=3])

Attachments

(4 files)

Attached image S__458768.jpg
Gaia 0a4d2dea25a7162ee43db3a0db817798b70e7521 Gecko https://hg.mozilla.org/mozilla-central/rev/1ab07aa4d004 BuildID 20140422160202 Version 31.0a1 STR: 1. launch "settings" app for 2 phones 2. turn on "NFC" for 2 phones 3. launch "browser" from phone A (on browser Homepage page) 4. tap 2 phones Expected result: Browser Homepage page should not show shrinking UI because it could not be shared Actual result: Browser Homepage page show shrinking UI
Summary: [NFC] Browser default page would still show shrinking UI when nfc device detected → [NFC] Browser homepage page would still show shrinking UI when nfc device detected
Hi Candice, I guess the mechanism should be on browser app, to determine whether it is a sharable content or not.
blocking-b2g: --- → backlog
Flags: needinfo?(cserran)
Whiteboard: [systemsfe]
Hey Wesley, Ben will be taking a look at this in this sprint as we reviewed in sprint planning today and will be tracking
Assignee: nobody → bfrancis
Flags: needinfo?(cserran)
Target Milestone: --- → 2.0 S1 (9may)
This bug blocks NFC 2.0 release.
Blocks: b2g-NFC-2.0
blocking-b2g: backlog → 2.0+
(In reply to Wesley Huang [:wesley_huang] from comment #1) > Hi Candice, > > I guess the mechanism should be on browser app, to determine whether it is a > sharable content or not. Yes, the NFC onpeerready callback that's being inspected should not be set if the app determines can't be shared in the current context.
Target Milestone: 2.0 S1 (9may) → 2.0 S2 (23may)
Component: NFC → Gaia::Browser
Summary: [NFC] Browser homepage page would still show shrinking UI when nfc device detected → Don't initiate NFC sharing when on the browser start page
Whiteboard: [systemsfe] → [systemsfe][p=3]
Keywords: verifyme
blocking-b2g: 2.0+ → backlog
feature-b2g: --- → 2.0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verified on Gaia 7db23414f2d632f4d00b5023ac1090b6045dc5fd Gecko https://hg.mozilla.org/mozilla-central/rev/2619a4def1b9 BuildID 20140522160203 Version 32.0a1
Status: RESOLVED → VERIFIED
Per comment 7, clear "verifyme".
Keywords: verifyme
Hi Reporter, I can repro this bug on latest Flame v2.0. Could you help with checking it again? Thank you. Repro STR: 1. Launch "Settings" app and turn on "NFC" for 2 phones. 2. Launch "Browser" on Flame v2.0(stay Browser Homepage page) 3. Tap 2 phones together. **Browser Homepage page show shrinking UI. --KO Flame v2.0 build: Gaia-Rev 2989f2b2bd12fcc0e9c017d2db766e76a55873b8 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/b4c61fd1dcfc Build-ID 20150126000204 Version 32.0 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150126.033406 FW-Date Mon Jan 26 03:34:17 EST 2015 Bootloader L1TC000118D0
Flags: needinfo?(ashiue)
Attached video new_video_v2.0.mp4
Add video and log.
Blocks: 1126249
Clone bug 1126249 to track this issue.
Flags: needinfo?(ashiue)
QA Whiteboard: [MGSEI-Triage+]
According to https://bugzilla.mozilla.org/show_bug.cgi?id=1138508#c15, this problem have fixed on flame 3.0, set the Tracking Flag of Flame 3.0 to unaffected.
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: