Closed Bug 1113058 Opened 10 years ago Closed 7 years ago

[Flame][Browser]"Browser" will close automatically, when user tap "Download" in order to download picture attached in email.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 unaffected, b2g-v2.0M unaffected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.0M --- unaffected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: wangxin, Unassigned)

References

Details

(Whiteboard: [systemsfe])

Attachments

(3 files)

Attached video Bug log: 1135.MP4
[1.Description]: [Flame][v2.1&v2.2][Browser]Link to Browser by tapping the "Online preview" button of Mail app for previewing attached image.Tap highlighted word "Download". Then the Browse will automatically exit. See log:"logcat_1135.txt" See video:"1135.MP4" Found Time: 11:35 [2.Testing Steps]: 1. Launch "Email", and log in a "@126.com" account. 2. Receive an mail with picture. 3. Open this mail, and scroll down to bottom. 4. Tap the "online preview(在线预览)". 5. When "Confirmation" page pops up, tap the "OK" button. 6. Then the picture opens in "Browser", tap the "X" to close image. 7.Tap the "Download" words. [3.Expected Result]: 7. Device will start to download picture, and "Browser" app shouldn't be closed. [4.Actual Result]: 7. The Browser will be closed automatically. [5.Reproduction build]: Flame 2.1 build: Gaia-Rev 14315733e2d265a42f9ab02d1aba191789870f70 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ddecea83ce6e Build-ID 20141217001201 Version 34.0 Flame 2.2 build: Gaia-Rev d22dfece04fc00457e8369c660c11f945b088d2f Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/cb8ad2251c09 Build-ID 20141217160203 Version 37.0a1 [6.Reproduction Frequency]: Always Recurrence,5/5 TCID: Free Test
The video is corrupt, could you attach a new video or perhaps post to youtube.
Flags: needinfo?(wangxin)
Hi Michael, Please see video here, if you can't open it, either, could you try to download it and open it in local.
Flags: needinfo?(wangxin)
From the logcat: >12-18 11:36:23.312 E/GeckoConsole( 212): [JavaScript Error: "A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'? >12-18 11:36:23.312 E/GeckoConsole( 212): See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise >12-18 11:36:23.312 E/GeckoConsole( 212): >12-18 11:36:23.312 E/GeckoConsole( 212): Date: Wed Dec 17 2014 22:31:51 GMT-0500 (EST) >12-18 11:36:23.312 E/GeckoConsole( 212): Full Message: DownloadError: [Exception... "It was attempted to resume the request, but the entity has changed in the meantime" nsresult: "0x804b0020 (NS_ERROR_ENTITY_CHANGED)" location: "JS frame :: resource://gre/modules/DownloadCore.jsm :: this.DownloadError :: line 1238" data: no]"] Aus, any idea what could be going on here?
Flags: needinfo?(aus)
Not sure what could be happening here, but, I will definitely take a look. We do use quite a few promises in the Downloads API and they do _not_ use a .then().catch() currently but they all have reject functions present. The actual issue may be in the JS Downloads in Gecko. I'll confirm and get back to you guys. Also, there's another 163.com related bug floating around (bug 991481) and it does sound related to this. It's really difficult to diagnose these because it's not possible for us to have accounts on this service as far as I can tell. Ergo, be patient with this one. :)
Flags: needinfo?(aus)
Assigning this to myself for investigation.
Assignee: nobody → aus
Whiteboard: [systemsfe]
The problem is verified still exist on on latest Flame 2.1/2.2 build See Attachment:video_1135.MP4 Step: 1. Launch "Email", and log in a "@126.com" account. 2. Receive an mail with picture. 3. Open this mail, and scroll down to bottom. 4. Tap the "online preview(在线预览)". 5. When "Confirmation" page pops up, tap the "OK" button. 6. Then the picture opens in "Browser", tap the "X" to close image. 7.Tap the "Download" words. Expected Result 7. Device will start to download picture, and "Browser" app shouldn't be closed. Actual Result 7. The Browser will be closed automatically. Flame 2.1 version: Build ID 20150227002636 Gaia Revision 5d3479fdd438412adee4452720856b6b771fe5cd Gaia Date 2015-02-25 18:20:09 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/0390c73a827b Gecko Version 34.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150227.035555 Firmware Date Fri Feb 27 03:56:06 EST 2015 Bootloader L1TC000118D0 Flame 2.2 version: Build ID 20150227002521 Gaia Revision eb6a5ac9081d3962198e0f4520b0743d716d7a27 Gaia Date 2015-02-26 17:25:22 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c8a38dcfbebc Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150227.035943 Firmware Date Fri Feb 27 03:59:54 EST 2015 Bootloader L1TC000118D0
Flags: needinfo?(echang)
Blocks: 1141798
Assignee: aus → nobody
Clear ni, this is in rd's tracking list.
Flags: needinfo?(echang)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 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: