Closed
Bug 324449
Opened 19 years ago
Closed 19 years ago
error when moving a tab before it's parent and then closing it (Error: uncaught exception: 2147500037)
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 2 alpha1
People
(Reporter: Peter6, Assigned: Gavin)
References
Details
(Keywords: verified1.8.1)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
bugs
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060123 Firefox/1.6a1 ID:2006012310 (in -safe-mode)
reproduce:
1. Open Firefox
2. Open 2 blank tabs
3. Open a 3rd blank tab and drag it between the first 2
4. Close that tab
result:
- You can not select any tabs
- You'll only see a gray empty window
- JS Console -> Error: uncaught exception: 2147500037
Reporter | ||
Comment 1•19 years ago
|
||
If you furthermode try to load a bookmark into the dead tabs the console shows
Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMXULElement.boxObject]
Source file: chrome://global/content/bindings/browser.xml
Assignee | ||
Comment 2•19 years ago
|
||
Confirmed: the problem is that the owner focusing code gets the owners index before closing the tab. The index to focus is then invalid after closing the tab.
Assignee | ||
Comment 3•19 years ago
|
||
Assignee | ||
Updated•19 years ago
|
Severity: critical → major
OS: Windows 2000 → All
Hardware: PC → All
Summary: Error: uncaught exception: 2147500037 → error when moving a tab before it's parent and then closing it (Error: uncaught exception: 2147500037)
Assignee | ||
Comment 4•19 years ago
|
||
Change the comments too.
Attachment #209402 -
Attachment is obsolete: true
Attachment #209402 -
Flags: review?(bugs)
Assignee | ||
Updated•19 years ago
|
Attachment #209409 -
Flags: review?(bugs)
Comment 5•19 years ago
|
||
Comment on attachment 209409 [details] [diff] [review]
better patch
I understand my code is a little confusing here. Inside the first for loop (//remove this tab as the owner ...) before the var tab = maybe also add a comment:
// |tab| refers to any tab owned by the tab being removed.
r=ben@mozilla.org
Attachment #209409 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 6•19 years ago
|
||
Fixed on the trunk.
mozilla/toolkit/content/widgets/tabbrowser.xml; new revision: 1.127;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 2
Assignee | ||
Updated•18 years ago
|
Target Milestone: Firefox 2 → Firefox 2 alpha1
Comment 8•18 years ago
|
||
Verified fixed with Windows, Mac and Linux with 2.0.b1rc3 builds
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•