Closed Bug 271426 Opened 20 years ago Closed 20 years ago

BrowserHome(); no longer displays home page

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: david, Assigned: csthomas)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a5) Gecko/20041122
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a5) Gecko/20041122

BrowserHome(); was the call-back for requesting the user's home page.  This
call-back no longer works.  This invalidates extensions that used the call-back
(e.g., PrefBar).  

Reproducible: Always
Steps to Reproduce:
1.  Install PrefBar 2.3.1 and relaunch Mozlla.  
2.  Configure PrefBar to have a Home button with the onClick value of BrowserHome();
3.  Browse to any Web page that is not the home page identified in your
preferences.  
4.  Select the Home button on the PrefBar toolbar.  

Actual Results:  
No response.  

Expected Results:  
Home page should appear.  

While the problem manifests itself while using an extension, the cause of the
problem is that an internal Mozilla interface changed.  Thus, this is a Mozilla
problem.
This is due to the change in bug 267169 -- BrowserHome() now takes an event
argument that seems to be required to specify what the target browser is.
If the change cited in comment #1 is not reversed, then the installation notes
for Mozilla 1.8 must describe this change with sufficient detail so that
appropriate modifications can be made not only by extension developers but also
by extension users.  
Attached patch patchSplinter Review
make browserhome work if no event is passed to it
Attachment #166897 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #166897 - Flags: review?(timeless)
Assignee: general → cst
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: active
Attachment #166897 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Attachment #166897 - Flags: review?(timeless) → review+
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: