Closed Bug 666236 Opened 13 years ago Closed 13 years ago

Component returned failure code: 0x8000fff (NS_ERROR_UNEXPECTED) [nsIWebNavigation.goBack | nsIWebNavigation.goForward] @ browser.js

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 7
ARM
Android
defect
Not set
normal

Tracking

(fennec+)

VERIFIED FIXED
Firefox 9
Tracking Status
fennec + ---

People

(Reporter: xti, Assigned: lucasr)

Details

Attachments

(3 files, 1 obsolete file)

Attached image screenshot
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:7.0a1)Gecko/20110621
Firefox/7.0a1 Fennec/7.0a1
Device: Motorola Droid 2
OS: Android 2.2

The following error occurs when you may want to go back to the previous website and the device back button/back arrow from the right panel doesn't perform the expected action at the first tap:

Error: uncaught exception: [Exception... "Component returned failure code: 0x8000fff (NS_ERROR_UNEXPECTED) [nsIWebNavigation.goBack]" nsresult: "0x8000fff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://browser/content/bindings/browser.js :: <TOP_LEVEL> :: line 146" data: no]
This happens all the time? If not, give more details about when you see this happen.
I just hit the equivalent with goForward() on 06/22 Nightly

uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIWebNavigation.goForward]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/bindings/browser.js :: <TOP_LEVEL> :: line 150"  data: no]

STR:
1. www.hardocp.com
2. Clicked on any of the top motherboard reviews
3. Tapped Back and Forward a couple times
Summary: Component returned failure code: 0x8000fff (NS_ERROR_UNEXPECTED) [nsIWebNavigation.goBack] @ browser.js → Component returned failure code: 0x8000fff (NS_ERROR_UNEXPECTED) [nsIWebNavigation.goBack | nsIWebNavigation.goForward] @ browser.js
This issue doesn't occur on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0a1)Gecko/20110513
Firefox/6.0a1 Fennec/6.0a1

but it occurs on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0a1)Gecko/20110514
Firefox/6.0a1 Fennec/6.0a1
http://hg.mozilla.org/mozilla-central/rev/932a10564fbc

Possible range:
http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2011-05-13&enddate=2011-05-14+03%3A00
Hi Cristian, can you get a range using build ID's?
(In reply to comment #4)
> Hi Cristian, can you get a range using build ID's?

I mean changesets
(In reply to comment #5)
> (In reply to comment #4)
> > Hi Cristian, can you get a range using build ID's?
> 
> I mean changesets

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7fd948de62a6&tochange=932a10564fbc
tracking-fennec: --- → ?
kevin, can you help here?  we need to know if (a) this still happens, and if so (b) can you reduce this range to once changeset?
tracking-fennec: ? → 7+
(In reply to comment #7)
> kevin, can you help here?  we need to know if (a) this still happens, and if
> so (b) can you reduce this range to once changeset?

This still happens 08/04 - to repro, just visit two sites, hit back and forward rapidly - check error console
Testing on the 08/04 Aurora I see the following:
* Back and Forward work without any errors if you allow the page to at least _start_ loading before tapping Back/Forward again
* Back and Forward produce errors in the console if you tap them in a rapid sequence. The page still tries to go back or forward though. It seems to actually work most of the time.

Therefore, I suggest we do nothing for this bug in Aurora unless someone can show that the app crashes or is somehow affected negatively. If the errors occur in Nightly as well (comment 2 makes it seem like it does), we can use a try/cacth to hide the errors from the error console.

In Fennec, back/forward are async operations. They do not block and happen instantly as on desktop (for now). We can't expect them to respond to rapid sequences, but we should not crash or corrupt the app either.
Assignee: nobody → lucasr.at.mozilla
tracking-fennec: 7+ → +
Attachment #554882 - Flags: review?(mark.finkle)
Attachment #554882 - Flags: review?(mark.finkle) → review+
Attachment #554883 - Flags: review?(mark.finkle) → review+
Comment on attachment 554883 [details] [diff] [review]
(2/2) Only allow browser to go back/forward when those are valid operations

Wait a minute. These are the same patches.
Attachment #554883 - Flags: review+ → review-
Oops, sorry about that :-P
Attachment #554882 - Attachment is obsolete: true
Attachment #554892 - Flags: review?(mark.finkle)
Attachment #554892 - Flags: review?(mark.finkle) → review+
Attachment #554883 - Flags: review- → review+
Keywords: checkin-needed
I ran into this on the nightly after going to https://www.adpweb.com.br/rhweb18/ then doing a google search on .gov.uk and hitting the back button

Mozilla/5.0 (Android; Linux armv7I; rv9.0a1) Gecko/20110822 Firefox/9.0a1 Fennec/9.0a1
Device: HTC Flyer 
OS: Android 2.3
In my queue, which is being sent to try and then presuming green, I'll land on inbound later today.
Status: NEW → ASSIGNED
Keywords: checkin-needed
Naoki, it might be related. It's worth trying to reproduce bug 680344 with a build with this patch applied.
http://hg.mozilla.org/mozilla-central/rev/d9859ad8932b
http://hg.mozilla.org/mozilla-central/rev/5347b86eba43
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Android; Linux armv7I; rv9.0a1) Gecko/20110826 Firefox/9.0a1 Fennec/9.0a1
Device: HTC Flyer 
OS: Android 2.3
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: