Open Bug 568844 Opened 14 years ago Updated 1 year ago

Error pages don't show until initial paint delay expires

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

(Whiteboard: [TSnappiness])

STEPS TO REPRODUCE:
1)  Set the "nglayout.initialpaint.delay" to 20000
2)  Load https://mozilla.org

EXPECTED RESULTS: Error page shows up

ACTUAL RESULTS:  Blank tab for 20 seconds, then error page shows up.

I haven't checked whether this is true for content XUL in general, or just error pages.
Whiteboard: [TSnappiness]
It happens because DocumentViewerImpl::LoadComplete never gets called for error pages, so the UnsuppressPainting call contained therein never happens so we have to wait for the paint suppression timer to fire.
Ah, I was wondering whether we triggered paint unsuppression off the same codepath as onload.  OK.

We should really fix error pages to not suck that way somehow....
Whiteboard: [TSnappiness] → [TSnappiness][Snappy]
Whiteboard: [TSnappiness][Snappy] → [TSnappiness]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.