Closed Bug 451332 Opened 16 years ago Closed 15 years ago

Need tests for invalidation issues

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

I coulda sworn we had a bug on this already....
Blocks: 449362
Blocks: 425279
Blocks: 424766
Blocks: 424465
Blocks: 421632
Blocks: 416073
Blocks: 400925
Would it make sense to do this as a reftest mode where it makes sure everything gets drawn?  Or do you also want to be able to test for things like "too much repainting" and "unnecessary flickering"?
Reftest already makes sure everything is redrawn.  That's the problem.  It can't detect missing invalidates.
By "makes sure everything gets drawn" I mean "checks that everything gets drawn".
For now it would be good to just be able to test cases when something should be repainted and isn't.
Would it be possible/worthwhile for us to use Roc's "invalidation events" in
bug 450930 for this?
Possible but not very convenient for writing tests with.
Blocks: 237766
Blocks: 244017
-> reftest for now, maybe it ought to go into "new framworks" though, if reftest can't be made to do this.
Component: Testing → Reftest
Product: Core → Testing
QA Contact: testing → reftest
Blocks: 467472
Blocks: 460240
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Depends on: 471365
Clint, would you or someone else (perhaps a volunteer) be able to go through the list of bugs that this bug blocks, and create invalidation reftests for them using the work in bug 471365? Also see
http://weblogs.mozillazine.org/roc/archives/2009/01/invalidation_re.html
(In reply to comment #8)
> Clint, would you or someone else (perhaps a volunteer) be able to go through
> the list of bugs that this bug blocks, and create invalidation reftests for
> them using the work in bug 471365? Also see
> http://weblogs.mozillazine.org/roc/archives/2009/01/invalidation_re.html
Yes, I'd love to.
(In reply to comment #9)
> (In reply to comment #8)
> > Clint, would you or someone else (perhaps a volunteer) be able to go through
> > the list of bugs that this bug blocks, and create invalidation reftests for
> > them using the work in bug 471365? Also see
> > http://weblogs.mozillazine.org/roc/archives/2009/01/invalidation_re.html
> Yes, I'd love to.
I hit commit a little too soon.  I'd love to, and I'll do some myself, as well as probably recruiting other volunteers to help out.  So if anyone is interested in volunteering, let me know, or just jump right in.
Did the work in bug 471365 fix this?
I believe so, yes.  We could move this to a tracking bug for writing those tests, I guess.
Summary: Need a way to test invalidation issues → Need tests for invalidation issues
No longer blocks: 425279
No longer blocks: 244017
All bugs in this list now have reftests, so I'm marking this as resolved.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.