Closed
Bug 393386
Opened 18 years ago
Closed 18 years ago
Opening page with Javascript resize code in new tab resizes whole browser
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 144069
People
(Reporter: mariusads, Unassigned)
References
()
Details
Attachments
(1 file)
|
30.02 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
This URL <a href="http://www.cancan.ro/bigPicture/6643/p/2">URL link</a> is a page showing one image and has code inside that resizes the window to the image size plus some spacing.
It is designed to be opened on click on a new windows and it works fine in that case but if one tries to open in new tab (or simply clicks on the scroll wheel like i do) the whole browser is resized.
Reproducible: Always
Steps to Reproduce:
1. Open specified URL in a new tab
2.
3.
Actual Results:
The whole browser is resized
Expected Results:
As I open the page in another tab, for *later* use, Firefox should not perform any resizing in this case and for sure it shouldn't resize the whole browser.
The page should be loaded and resizing window ignored or in the worst case deferred until I click on the tab.
I've noticed this issue with other pages but I don't have any links available right now. What happens to those is that they have some code that makes the whole browser resize a few pixels up and down for about a second or simply make the title bar flicker.
| Reporter | ||
Comment 1•18 years ago
|
||
As i tried clicking the link in this comment directly (not in new tab), the page opened and also resized the whole browser to that size.
When I clicked back, the whole page is displayed in that small square that was the previous page (see image attached).
| Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
There is a pref that can change this behavior tools -> options -> content -> javascript -> advanced -> uncheck allow javascript to move or resize windows
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•