Closed
Bug 1353399
Opened 8 years ago
Closed 7 years ago
Intermittent reftest failure 1298742-1.html with webrender enabled
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox56 | --- | unaffected |
firefox57 | --- | unaffected |
firefox58 | --- | fixed |
People
(Reporter: mchang, Assigned: kats)
References
Details
No description provided.
Comment 2•8 years ago
|
||
Mason, please put a link to failure log here. I'd like to see the result difference. Thanks!
Reporter | ||
Comment 3•8 years ago
|
||
Is there a reason you didn't make the animation times the same or figure out why it was intermittent on try per https://bugzilla.mozilla.org/show_bug.cgi?id=1298742#c24 ?
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(boris.chiou)
Reporter | ||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Thank you Mason.
I did not actually check the failure on try at that time, so I have no idea about its reason.
What I can tell about the failure diff in comment 4 is that we failed to pull (had no chance?) the animation from the compositor before we got MozAfterPaint event. It reminds me bug 1341294 again.
Reporter | ||
Comment 6•8 years ago
|
||
I think this is a problem with the test. It has two animations. Once the animations are paused and ready, we remove one of the animations. The first animation is then queued and can start at anytime, which races with the removal of reftest-wait and snapshotting I think. But it seems also like this test is fundamentally flawed if the original test had intermittents.
Comment 7•8 years ago
|
||
Sorry, I'm not familiar with the potential race problem of the removal of reftest-wait and snapshotting. I think hiro/Brian has more ideas about this intermittent failure.
Flags: needinfo?(boris.chiou)
Updated•8 years ago
|
Blocks: stage-wr-backlog
Updated•8 years ago
|
Priority: -- → P3
Comment 8•8 years ago
|
||
Boris, is the problem here the following:
animB.effect = null;
requestAnimationFrame(function() {
document.documentElement.classList.remove("reftest-wait");
});
i.e. we have animB on the compositor and we might snapshot before the compositor has been updated?
Flags: needinfo?(boris.chiou)
Comment 9•8 years ago
|
||
(In reply to Brian Birtles (:birtles, away until 19 Sep) from comment #8)
> Boris, is the problem here the following:
>
> animB.effect = null;
> requestAnimationFrame(function() {
> document.documentElement.classList.remove("reftest-wait");
> });
>
> i.e. we have animB on the compositor and we might snapshot before the
> compositor has been updated?
This test wants to test if we set the keyframe effect of animB to null, animB will have no effect on this element, but I'm not sure what happen on compositor thread. If it is on the main thread, everything seems OK. However, if animB is on the compositor thread, and we set its keyframe effect to null, then we should remove it from the compositor thread, so the visual result of this element becomes animA, which is 'translate(0px)'. i.e. I thought we need to snapshot after animB is updated on the compositor thread? Maybe we forget do something so this may break the test after enabling webrender.
Flags: needinfo?(boris.chiou)
Comment 10•8 years ago
|
||
I wonder if bug 1397057 fixes this.
Updated•8 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → unaffected
Reporter | ||
Updated•8 years ago
|
Assignee: mchang → nobody
Assignee | ||
Comment 11•7 years ago
|
||
This was fixed by bug 1404091. But there's a stale comment in the reftest.list that needs removing.
Depends on: 1404091
Comment 12•7 years ago
|
||
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1477d8efa569
Remove stale comment. r=me and DONTBUILD
![]() |
||
Comment 13•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•7 years ago
|
Assignee: nobody → bugmail
You need to log in
before you can comment on or make changes to this bug.
Description
•