Closed Bug 201003 Opened 22 years ago Closed 22 years ago

location.href=blabla should open in new tab when Ctrl-key is pressed

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 55696

People

(Reporter: raarts, Assigned: rogerl)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 Subject says it. Take for example a select dropdown box with an onchange= that uses a location.href= to go to a new page. Reproducible: Always Steps to Reproduce: Actual Results: The page loads in the current tab instead of in a new one. Expected Results: The page should open in a new tab if Ctrl is held done during selecting (or even if the middle mouse button is used).
*** This bug has been marked as a duplicate of 55696 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified Duplicate - I think. The request in bug 55696 is for the link to open in a new window; here the request is a new tab. At any rate, this is not a JavaScript Engine issue. JavaScript Engine deals with the abstract JavaScript programming language. Specifically, the low-level objects such as String(), Number(), and Date(). The JS Engine does not contain browser or DOM objects like window, document, links, hrefs, events, etc. If this bug is not actually a duplicate of bug 55696, please reopen and reassign to the Event Handling component. In the meantime, you will be cc'ed on bug 55696. If you want to add comments there about a new tab instead of a new window, that would be welcome. Thank you for this report -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.