Closed Bug 306527 Opened 19 years ago Closed 19 years ago

DOM Function window.resizeBy() fails

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: rontilby, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050830 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050830 Firefox/1.6a1

The DOM Function window.resizeBy() stopped working.
Regression window:
Pass: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050809
Firefox/1.0+
Fail: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050810
Firefox/1.0+

Reproducible: Always

Steps to Reproduce:
1.Load upcoming testcase.
2.shrink the window
3.click the button

Actual Results:  
window size does not change

Expected Results:  
window size should change

I found two DOM related checkins in on 9 August: One for bug 303420 One for bug
304003.
Perhaps one of these checkins caused the regression.
Component: General → DOM
Keywords: regression
Product: Firefox → Core
Version: unspecified → Trunk
Attached file Testcase
Works here with:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050829
Firefox/1.6a1
Are you sure you have the pref allow scripts to "Move or Resize Windows" enabled?
(under tools->options->Content->Enable Javascript->Advanced)
Setting the pref allow scripts to "Move or Resize Windows" to enabled solved the
problem.  It must have changed default state, or become enforced between the 9
August and 10 August nightly builds.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Correct, the default changed in bug 299424.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: