Closed Bug 336215 Opened 19 years ago Closed 19 years ago

Implement getBrowserAtIndex in SeaMonkey tabbrowser

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 482291

People

(Reporter: aatoxic, Assigned: csthomas)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 Before the Mozilla start I receive in a window this message Clrtb: Inizialisation failed to attach; TypeError: gBrowser.getBrowserAtIndex is not a function I click ok and Mozilla finally start Reproducible: Always Theme: blue orbit Cookie Manager : use default permissions Image Manager : use default permissions
The string "Clrtb" does not exist in our code. Do you have an extension installed that might be? getBrowserAtIndex is a Firefox-only tabbed browser method.
Assignee: general → nobody
Component: General → Tabbed Browser
Product: Mozilla Application Suite → Core
QA Contact: general → tabbed-browser
Version: unspecified → 1.7 Branch
The problem is generated by the extension Colorful .. It's not for SeaMonkey by for FireFox only. I resolve the question myself and the i wrote to the creator for fixing the problem.. Bye Bye
Do we want to implement a getBrowserAtIndex?
Version: 1.7 Branch → Trunk
(In reply to comment #3) >Do we want to implement a getBrowserAtIndex? We should; currently we're expensively recalculating this.browsers[i] in loops.
Assignee: nobody → cst
Status: UNCONFIRMED → ASSIGNED
Attachment #222122 - Flags: review?(neil)
There are a couple loops that use this.browsers.length as a loop bound. Maybe those should change too.
Pretend that .diff only had the first part.
If jag wants us to cache .browsers we don't need getBrowserAtIndex any more.
(In reply to comment #8) > If jag wants us to cache .browsers we don't need getBrowserAtIndex any more. > Unless we want extensions that depend on it to work.
Updating summary to reflect the real RFE here. I discussed this with Neil, and this is a WONTFIX. Extension authors should use the .browsers array. If it turns out that a huge number of extensions do depend on this, then I guess we may have to revisit it in the future, but so far we haven't seen other complaints.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Summary: Clrtb:Inizialisation failed to attach: TypeError: gBrowser.getBrowserAtIndex is not a function → Implement getBrowserAtIndex in SeaMonkey tabbrowser
Product: Core → SeaMonkey
This is a WFM See Bug 482291 for implementation.
Resolution: WONTFIX → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: