Closed Bug 555681 Opened 14 years ago Closed 14 years ago

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

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: delan.azabani, Unassigned)

References

()

Details

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,''));}
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?
Done. The bug is invalid, sorry.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.