Closed Bug 463538 Opened 16 years ago Closed 16 years ago

>230ms wasted on resize noops

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

References

Details

Attachments

(1 file)

http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser-ui.js#450

There are 5 resize events called for w3.org to load. None of them actually changes any sizes.
I bet they are for other "windows". There is a check here:
http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser-ui.js#459

We could be getting "resize" event bubbles from the web page "window" and the iframe "windows" we use for the add-on manager and download manager.
I'm not sure if this logic change breaks anything because I don't know what the intent of the original separation of resize logic was.

Also why is popup_autocomplete's height modified on resize, but width isn't?
Assignee: nobody → tglek
Attachment #347329 - Flags: review?(mark.finkle)
Attachment #347329 - Flags: review?(mark.finkle) → review+
Comment on attachment 347329 [details] [diff] [review]
guard against all resizes

hmm, I thought I tried this but saw weird issues with the panelUI. However, it seems ok now.
pushed http://hg.mozilla.org/mobile-browser/rev/c6e107d1ce72
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Looks like checkboxes disappears from preference tab after this commit.
Depends on: 464296
Blocks: 459117
this code isn't in mxr, but we have refactored a lot of the resizing and browser code since this.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: