Closed Bug 650711 Opened 14 years ago Closed 13 years ago

Disable website window resizing by default

Categories

(Firefox :: Settings UI, enhancement)

x86
Windows 7
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 565541

People

(Reporter: ghazel, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 Build Identifier: Here's a bug which I encountered which I was told should be a feature request: https://bugzilla.mozilla.org/show_bug.cgi?id=646761 Reproducible: Always
Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110420 Firefox/6.0a1 I cannot reproduce the issue. The link showing the issue in bug 646761 is broken. Can you please be more clear on the steps to reproduce that point to the enhancement?
The link caused the browser window to resize itself to a very small window. Probably the smallest you can make FireFox, which made about one inch wide and completely unusable.
Reporter, do you have anything new to add about this issue?
Does anything more need to be added? This is a feature request that "Move or resize existing windows" default to false.
I still cannot reproduce the bug on: Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110510 Firefox/6.0a1 as the link is not available. Can you be more clear on the steps to reproduce so we can see exactly what feature you are referring to? Thanks.
The website I linked to is down, but the bug report https://bugzilla.mozilla.org/show_bug.cgi?id=646761 clearly describes the problem and the mechanism the website used, and there seems to only be one option related to this, which is mentioned by posters there: "Move or resize existing windows".
In reply to Comment 6, considering this bug as a duplicate after bug 646761, then. Please change this bug's status if you consider the same. Thanks
In reply to Comment 7, since bug 646761 is already invalid, it makes not sense in duping this one. But as they both reflect the same issue, this one is more likely to be invalid as well. Reporter, please consider that if there are not clear steps to reproduce the issue and/or the issue is not visible in order to be considered as an enhancement, this bug could be marked as invalid, as well. Thanks
This is not a duplicate of bug 646761, this is the feature request I filed after I was told to after filing bug 646761 myself. What do you mean there are not clear steps to reproduce the issue? You can see on bug 646761 that the issue was clearly reproduceble. Call window.moveTo(0,0); window.resizeTo(10,10); yourself and see. This is a feature request that "Move or resize existing windows" be disabled by default.
This is a primitive testcase that demonstrates how window.resizeTo(0,0) is affected by the setting of the JavaScript preferences "Move or resize existing windows". Either your window gets minimized or not. As an alternative you may just execute the following line in the address bar: javascript:window.resizeTo(0,0); (But since there are ongoing discussions on preventing social engineering that may stop working any day.)
"Move or resize existing windows" is enabled in new profiles i all these Firefox versions and makes the testcase in attachment 532531 [details] minimize the window: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Mozilla/5.0 (X11; Linux x86_64; rv:5.0a2) Gecko/20110513 Firefox/5.0a2 Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110515 Firefox/6.0a1
Version: unspecified → Trunk
The test case in attachment 532531 [details] stopped working here: Last good nightly: 2011-06-01 First bad nightly: 2011-06-02 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5c6d107ede5a&tochange=9a6c139a4e58 It's likely bug 565541 "Web sites shouldn't be allowed to resize main window" that fixed it. Since the functionality now is completely disabled it's also disabled by default, so I'll duplicate the current bug against that bug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: