Open Bug 155313 Opened 22 years ago Updated 2 years ago

location='javascript:' in onload delays painting for a second [paint suppression]

Categories

(Core :: Layout, defect, P3)

x86
Windows XP
defect

Tracking

()

Future

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

Steps to reproduce:
1. Load testcase.
2. Reload.

Result: It takes a second before a new random number is displayed.
Expected: A new random number should be displayed immediately.

Workaround: use setTimeout.
Attached file testcase
More serious version: if you do the same thing in an inline script, the content
never paints (bug 155312).
Priority: -- → P3
Target Milestone: --- → Future
Info: New default value of paint suppression to be defined in bug 180241
Assignee: attinasi → other
Keywords: perf
Is this still an issue?
Depends on: 144587
Yes.  If I set nglayout.initialpaint.delay to 2000 in 04/24:08 on WinXP, I still
see this bug.  If I leave it at the default (250ms?), this bug is hard to notice.
Saving the testcase locally and trying it - MSIE6 is about twice as fast as 
with trunk 2004050907 on win-xp 
Assignee: layout → nobody
QA Contact: chrispetersen → layout
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: