Closed Bug 370563 Opened 17 years ago Closed 17 years ago

Javascript window.home() attempts to send user to concatenated list of home pages

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 343999

People

(Reporter: dave.mckee, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

http://www.mozilla.com/en-US/firefox/central.html gives a link back to the user's home page using javascript:window.home(); . Clicking this when the user has two homepages attempts to send the user to a url of the form "http://www.xyz.com/jam|http://www.abc.com/bread". This typically generates xyz.com's 404 page, because they don't have a page of that name.

Note: is reproducible with my friends machine/settings as well:
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2)

Reproducible: Always

Steps to Reproduce:
1. Have multiple tabs open
2. Tools, Options, Homepage, Use Current Homepage
3. Visit http://www.mozilla.com/en-US/firefox/central.html
4. Click the link.
Actual Results:  
The webbrowser attempts to visit http://www.google.co.uk/ig|http://www.[censored for privacy reasons].com

Expected Results:  
Either:
1) Just open the first page (http://www.google.co.uk/ig)
2) Open the first page in the current tab and the other pages in new tabs.

It might also be worth considering fixing http://www.mozilla.com/en-US/firefox/central.html if this is considered not a bug in the Firefox code.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.