Open
Bug 764983
Opened 13 years ago
Updated 2 years ago
Investigate if load event firing could be delayed in background tabs
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
Details
(Whiteboard: [Snappy:p2])
(page) load event listeners do often something heavy. I wonder if it makes sense to
delay firing load event in background tabs so that it gets fired either after 10(?) seconds
or if the tab has become and stayed active for, say, 1s.
Tab icon should still indicate that the page has been loaded. It is just that the
event listeners would run later and also the final page loading related layout flush.
(I wonder if we really have to flush layout in bg tabs before firing load event.)
![]() |
||
Comment 1•13 years ago
|
||
We want to get rid of the flush-before-firing in general. The only issue is that last time I did that I got test failures with things actually rendering incorrectly... need to figure out why.
Updated•13 years ago
|
Whiteboard: [Snappy]
Updated•13 years ago
|
Whiteboard: [Snappy] → [Snappy:p2]
Comment 2•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•