Closed Bug 265969 Opened 20 years ago Closed 20 years ago

Middle clicking a bookmark with 'javascript:location.href' doesn't refer to the current page

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: fishos, Assigned: vlad)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

See attached image.
If I click that bookmark with "javascript:location.href" in it, it gives me
wayback result (in this case) of the current address.
But if I middle click it to open in a new tab, it refers to 'about:blank'
instead of to http://update.mozilla.org/ (or whatever the current page it)

In my opinion this is a bug that should be fixed.

Reproducible: Always
Steps to Reproduce:
Attached image Example
If you're middle-clicking a bookmark, it is opening that bookmark in a new,
blank tab, with no reference to the previous page.  The new tab has no reason to
be aware of another tab whatsoever, and fixing this edge case would possibly
create privacy/security issues, and has little use outside of bookmarklets such
as this.

This would be something useful as an extension, as you could simply invoke the
openTab method directly.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: