[Minefield alpha 4] Bookmarklets calling window.open incorrectly open new windows

RESOLVED INVALID

Status

()

Firefox
General
--
major
RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: Delan Azabani, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a4pre) Gecko/20100329 Ubuntu/10.04 (lucid) Minefield/3.7a4pre
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a4pre) Gecko/20100329 Ubuntu/10.04 (lucid) Minefield/3.7a4pre

When using the new Minefield alpha 4, bookmarklets that call window.open open new windows, unlike opening new tabs which is the correct behaviour. This is especially visible when running a bookmarklet that opens each image in the current 4chan page in a new tab.

Reproducible: Always

Steps to Reproduce:
1. Open a 4chan thread
2. Run the bookmarklet
3. Observe the new windows rather than new tabs
Actual Results:  
New windows open with the images

Expected Results:  
New tabs should open with the images

The bookmarklet:

javascript:if(confirm("Are%20you%20sure?")){void(lp=document.getElementsByTagName('span'));for(ix=0;ix<lp.length;ix++)if(lp[ix].className=='filesize')void(open(lp[ix].firstChild.nextSibling.href,''));void(lp=document.getElementsByTagName('img'));for(ix=0;ix<lp.length;ix++)if(lp[ix].className=='multithumb')void(open(lp[ix].parentNode.parentNode.href,''));}
(Reporter)

Comment 1

8 years ago
All the bugs I've reported today are invalid; Tab Mix Plus is broken in this version. Is there a way to mark this bug invalid?
(Reporter)

Comment 2

8 years ago
Done. The bug is invalid, sorry.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.