Open
Bug 1866411
Opened 2 years ago
Updated 2 years ago
sync decoding of images causes unnecessary invalidates that hide bugs and make it hard to write some tests
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(Not tracked)
NEW
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 1 open bug)
Details
Having sync decoding enabled can affect tests that don't even contain images because we will hit this code
that invalidates every display item that may contain an image.
This, for example, hides bug 1866410. It also makes it impossible to write a reftest/crashtest for bug 1862277. And it's not obvious that this is the cause so it takes developer time.
| Assignee | ||
Comment 1•2 years ago
•
|
||
I think we can probably fix this by skipping the linked invalidation code if the sync decoding pref is set because that means every paint is one with sync decode and we only need that code if we are mixing sync and non-sync paints. (I think we can get away with not supporting the case of dynamically flipping the pref perfectly.)
| Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•