Closed Bug 1250804 Opened 8 years ago Closed 6 years ago

The error string is wrong when launching Web Apps without network connection.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.5 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.5 --- affected
b2g-master --- affected

People

(Reporter: cindylee, Assigned: danhuang)

References

Details

(Keywords: qablocker, Whiteboard: [ft:conndevices])

Attachments

(3 files)

Attached image NG.png
[Description]
The error string is wrong when launching Web Apps without network connection.

[Test Steps]
1. Disconnect internet.
2. Launch Web Apps.

[Expected Result]
2. The error string "Need an internet connection - Your TV need and internet connection for you to enjoy apps and services." should be displayed when launch Web Apps without network connection.

[Actual Result]
2. The error string is wrong when launching Web Apps without network connection.

[Frequency]
5/5

[TCID]
17930

[Build Info]
Environment: 2.6 Simulator
gaia:
https://github.com/mozilla-b2g/gaia/commit/435a9320454ccc3ffdebff4d5d680f1254a15e26
gecko:
https://hg.mozilla.org/mozilla-central/rev/a9e33d8c48b5ca93ca1937eba4220f681a0f05ec
Basic function broken

Hi Cindy, please help to check if this also happen on v2.5, thanks.
blocking-b2g: --- → 2.6?
Flags: needinfo?(cindylee)
Keywords: qawanted
(In reply to Mike Lien[:mlien] from comment #1)
> Basic function broken
> 
> Hi Cindy, please help to check if this also happen on v2.5, thanks.

Hi Mike,

This issue is also observed on v2.5 latest build.
[Build Info]
gaia:
https://github.com/mozilla-b2g/gaia/commit/b059a19c4cb615e16174735662199e6769cee393
gecko:
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/38e6a8bdf412a947418ffffc54c4821fe6103f9f
mulet:
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/9d519d3bedacb7f5ce467f4c6bef7ff55ff3b0f3
Flags: needinfo?(cindylee)
Keywords: qawanted
[Blocking Requested - why for this release]:
blocking-b2g: 2.6? → 2.5?
Hi Dan, 
Please handle this bug. Thanks
Flags: needinfo?(dhuang)
blocking-b2g: 2.5? → 2.5+
Attached image browser_offline_2.6.png
Attached image app_offline_2.6.png
Hi Mike,

The network error work well in the simulator you provide (2.6/Latest).
I add two attachments for those test result.

The Bug 125018 didn't land in v2.5, so the test result would work well.
And also I think Bug 1239955 didn't land in v2.5 too.
Flags: needinfo?(dhuang)
Cindy, bug 1239955 has been uplift. Please verify and close this bug if it works, or ni Dan if it doesn't work. Thanks.
Flags: needinfo?(cindylee)
Assignee: nobody → dhuang
Hi Dan,

We found the wrong string shows occasionally in [case 1] and the string always shows correctly in [case 2]. Could you kindly help to check it?

[Build Info]
TV 2.6 Simulator
gaia:
https://github.com/mozilla-b2g/gaia/commit/bae79910eb2f3b1a657a40fcd5def0a898214d17
gecko:
https://hg.mozilla.org/mozilla-central/rev/bdde3fedb45be528f985a0aff373b37b010fb927

 
[Case 1]
1. Open TV Simulator on WebIDE.
2. Disconnect network.
3. Launch Web Apps.
4. Show wrong string "Server not found" occasionally.(The frequency is 5/10)

[Case 2]
1. Open TV Simulator on WebIDE.
2. Launch Web Apps.
3. Disconnect network.
4. Launch any app in Web Apps.
5. Show the correct string "Need an Internet Connection" without error.

Thanks.
Flags: needinfo?(cindylee) → needinfo?(dhuang)
Hi Mike, 

We think this is the platform issue after discuss with kershaw.
Should we open a follow up bug for tracing the platform issue and close this bug ?
Flags: needinfo?(dhuang) → needinfo?(mlien)
On real TV, case 1 won't fall into this path because partner has a custom UI to deal with it before opening the app. I suggest we stop here as long as it looks good on real TV.
blocking-b2g: 2.5+ → ---
Depends on: 1253488
After discussed with Kershaw offline, it's caused by platform returned value differences. File bug1253488 for further tracking
Flags: needinfo?(mlien)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: