Closed
Bug 691956
Opened 13 years ago
Closed 13 years ago
self.resizeTo and window.moveTo not working in FF7
Categories
(Core :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 691693
People
(Reporter: my.email.subscriptions, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
I installed FF7 as requested by authomatic update nad now the javascript stopped working.
Right now this code is working perfectly under GoogleChrome, Opera, Safari, IExplorer but is not working either in FF nor SeaMonkey
This is the used javascript:
theWindowHeight = 400;
theWindowWidth = 520;
self.resizeTo( theWindowWidth, theWindowHeight );
window.moveTo( ( screen.width / 2 ) - ( theWindowWidth / 2 + 10 ), 0 );
Actual results:
Nothing
Expected results:
The window should be resized and moved to the center of the user's viewport
![]() |
||
Comment 1•13 years ago
|
||
If the window is not one that your site opened via window.open(), this is expected behavior; it was a purposeful change.
Or are you trying to resize a popup window? That should work, unless you have Firebug installed.
Boris,
The window is one opened via window.open() and yes, I have Firebug installed.
And the solution is just to disable all panels while testing or do I have to disable the firebug plugin in Plugins control panel?
I reinstalled FF 6 and will wait for your answer before reinstalling FF 7.
Thanks for your comment.
Comment 3•13 years ago
|
||
You need to disable firebug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
![]() |
||
Comment 4•13 years ago
|
||
Carlos, Firebug has a bug in it where it pretends that its panels are tabs. Disabling the panels doesn't help, unfortunately.
The Firebug folks are working on a fix for this. Once Firebug 1.9 ships, things should work again.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•