Closed
Bug 498821
Opened 16 years ago
Closed 16 years ago
disable isOffScreenBrowser during pageloads
Categories
(Firefox for Android Graveyard :: General, defect)
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?
Comment 1•16 years ago
|
||
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.
| Reporter | ||
Comment 2•16 years ago
|
||
(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
Comment 3•16 years ago
|
||
mark, any tweak made to isOffScreenBrowser has been done already that could had affected bug 406837 ?
| Reporter | ||
Comment 4•16 years ago
|
||
(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.
| Reporter | ||
Comment 5•16 years ago
|
||
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.
Description
•