Closed Bug 289035 Opened 19 years ago Closed 15 years ago

Errors in console when closing more than one tab quickly (NS_ERROR_FAILURE [nsIDOMXULElement.boxObject] - browser.xml :: get_docShell)

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: djcater+bugzilla, Unassigned)

References

Details

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050404 Firefox/1.0+

If you have multiple tabs open, and close more than one of them quickly (using
the holding down the keyboard shortcut for instance,) several errors appear in
the JavaScript Console.

Reproducible: Always

Steps to reproduce:

0. Have javascript.options.showInConsole set to true.
   Open up the JavaScript Console (Tools > JavaScript Console) and Clear all the
errors.

1. Open up multiple tabs (8 or more is good, preferably with about:blank loaded
in each.)
2. Hold down the keyboard shortcut for 'Close Tab' (found in File > Close Tab.)
3. Open up the JavaScript Console (Tools > JavaScript Console,) and go to Errors.

Actual Results:

JavaScript Console showed multiple errors.

Expected Results:

JavaScript Console should not have shown any errors.

The error was:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMXULElement.boxObject]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/bindings/browser.xml :: get_docShell :: line 0"  data: no]
Status: UNCONFIRMED → NEW
Ever confirmed: true
I've seen this on windows XP on a recent trunk build, so marking platform all.

I thought maybe it had something to do with session restore, but this bug is from 2005-04-04, which is way before dietrich's work.

see also: 

https://bugzilla.mozilla.org/show_bug.cgi?id=318168#c19

and

https://bugzilla.mozilla.org/show_bug.cgi?id=318168#c33

for some related information about this error.
OS: Linux → All
Hardware: PC → All
Assignee: bugs → nobody
Summary: Error in console when closing more than one tab quickly → Errors in console when closing more than one tab quickly (NS_ERROR_FAILURE [nsIDOMXULElement.boxObject] - browser.xml :: get_docShell)
Can you still reproduce this issue? I can't in Firefox 3.5.3, which is what I have open currently...
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20090913 Minefield/3.7a1pre

I don't see this now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.