Closed Bug 456081 Opened 11 years ago Closed 11 years ago

window.resizeTo messes with Fennec UI

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: abillings, Assigned: mfinkle)

Details

Attachments

(3 files, 2 obsolete files)

Attached file Testcase
If the user loads a page in Fennec with window.resizeTo, when Fennec resizes, the UI will not conform well to the available space and will leave images from the previously rendered page in the background in the area outside of new window size.

Steps to Reproduce
1. Stick attached testcase on a server. 
2. Navigate to it.

This was seen in Stuart's build 20080918185520.
We should probably just disable window.resize() from content.
(In reply to comment #2)
> We should probably just disable window.resize() from content.

Agreed
Use pref to disable feature
Assignee: nobody → mark.finkle
Attachment #339499 - Flags: review?(gavin.sharp)
Attachment #339499 - Flags: review?(gavin.sharp) → review+
Attached patch fixup (obsolete) — Splinter Review
works better if you actually disable it
Attachment #339499 - Attachment is obsolete: true
Attachment #339511 - Flags: review?(gavin.sharp)
I think I got it now
Attachment #339511 - Attachment is obsolete: true
Attachment #339512 - Flags: review?(gavin.sharp)
Attachment #339511 - Flags: review?(gavin.sharp)
Attachment #339512 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mobile-browser/rev/a48464d3ea42
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verified in the A8 build (20080923171103)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.