Closed Bug 498821 Opened 16 years ago Closed 16 years ago

disable isOffScreenBrowser during pageloads

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mfinkle, Unassigned)

Details

(Keywords: perf)

In bug 476186, we saw over 300ms Ts regression caused by setting isOffScreenBrowser too early in the startup path for the initial load. The theory was that setting the flag caused many events to be sent to the browser, slowing things down. The fix for the Ts regression was to delay setting the flag until the first page was loaded. Why not _always_ turn off the flag at the start of a pageload and set it at the end?
Isn't the whole point of ireflow that people can start viewing the page _as_ it loads, rather than waiting 'til it's totally loaded/reflowed? Maybe I'm misunderstanding.
(In reply to comment #1) > Isn't the whole point of ireflow that people can start viewing the page _as_ it > loads, rather than waiting 'til it's totally loaded/reflowed? Maybe I'm > misunderstanding. Yes, and tweaking isOffScreenBrowser won't affect that. But blassey poited out that isOffScreenBrowser could cause text input methods to fail, if users begin to enter text during a pageload. I tested this theory and soft keyboard is broken without isOffScreenBrowser=true
mark, any tweak made to isOffScreenBrowser has been done already that could had affected bug 406837 ?
(In reply to comment #3) > mark, any tweak made to isOffScreenBrowser has been done already that could had > affected bug 406837 ? Not to my knowledge. The example of loading google.com and making sure the textbox on the page gets focus - still works for me.
Not going to do this
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.