Closed
Bug 400925
Opened 17 years ago
Closed 16 years ago
Reftests for live changes to gradients and patterns
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: jruderman, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
11.04 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
These reftests are intended as tests for bug 276316, bug 309924, bug 308589, bug 327764, and bug 372574.
I couldn't get them to fail by reverting the patches for bug 309924 or bug 327764, though, which is strange. I even tried using reftest-wait instead of direct onload. Could the problem be that the bugs are painting bugs and reftest's forced painting hides them?
Attachment #285970 -
Flags: review?(tor)
(In reply to comment #0)
> I couldn't get them to fail by reverting the patches for bug 309924 or bug
> 327764, though, which is strange. I even tried using reftest-wait instead of
> direct onload. Could the problem be that the bugs are painting bugs and
> reftest's forced painting hides them?
Those bugs came about because we weren't invalidating the area to repaint, so a forced paint would indeed probably hide them.
Reporter | ||
Comment 2•17 years ago
|
||
Should I add these as reftests anyway? Will a future version of reftest will be able to catch painting-invalidation bugs?
I can't speak for the future features of the reftest framework, but having tests for various invalidations would be useful. I don't think the onload approach used in these tests is the way to go, since that will probably get executed before the first paint.
Reporter | ||
Updated•17 years ago
|
Assignee: jruderman → nobody
Depends on: compositor
Reporter | ||
Updated•16 years ago
|
Attachment #285970 -
Flags: review?(tor)
Updated•16 years ago
|
Flags: in-testsuite?
Comment 4•16 years ago
|
||
Updated Jesse's original reftests with the new MozReftestInvalidate event; see http://weblogs.mozillazine.org/roc/archives/2009/01/invalidation_re.html.
Attachment #285970 -
Attachment is obsolete: true
Attachment #384917 -
Flags: review?
Updated•16 years ago
|
Attachment #384917 -
Flags: review? → review?(jruderman)
Reporter | ||
Updated•16 years ago
|
Attachment #384917 -
Flags: review?(jruderman)
Reporter | ||
Comment 5•16 years ago
|
||
Comment on attachment 384917 [details] [diff] [review]
updated reftests
Please request review from dbaron or roc, since I don't know the subtleties of MozReftestInvalidate.
Updated•16 years ago
|
Attachment #384917 -
Flags: review?(roc)
There are no real subtleties. You just set reftest-wait on the root element, listen for the MozReftestInvalidate with document.addEventListener("MozReftestInvalidate", doTest, false), and in doTest do your dynamic changes and then remove reftest-wait.
Attachment #384917 -
Flags: review?(roc) → review+
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Attachment #384917 -
Attachment description: updated reftests with new MozReftestInvalidate event → updated reftests (checkin-needed to 1.9.1 and trunk)
Comment 7•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Updated•16 years ago
|
Attachment #384917 -
Attachment description: updated reftests (checkin-needed to 1.9.1 and trunk) → updated reftests
Updated•16 years ago
|
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•