| Summary: | REGRESSION(r257417): imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events-replacement.html is flaky failing. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Lawrence <Lawrence.j> | ||||||
| Component: | Animations | Assignee: | Antoine Quint <graouts> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, ddkilzer, dino, graouts, graouts, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Mac | ||||||||
| OS: | macOS 10.14 | ||||||||
| Bug Depends on: | 208069 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jason Lawrence
2020-03-18 10:57:40 PDT
I have marked this test as failing while this issue is investigated. https://trac.webkit.org/changeset/258650/webkit The failure can be reproduced like so: rwt imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events-replacement.html --iterations=5000 --exit-after-n-failures=1 --force -f The test can be reduced to the single flaky failing test. When the test fails, the Document only ever sees a single timeline in m_timelines and thus fails to update the animation correctly. OK, this is due to r257417, the fix for bug 208069. In this test, we have the following: animB.timeline = new DocumentTimeline({ originTime: document.timeline.currentTime - 100 * MS_PER_SEC - animB.startTime, }); But the DocumentTimeline is not referenced by anything other than the animation and so it gets deref'd, no longer being considered. We need to revisit bug 208069. Created attachment 394177 [details]
Patch
Comment on attachment 394177 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=394177&action=review > Source/WebCore/ChangeLog:20 > + WebAnimation a weak reference, in some cases, if CG kicks in, the timeline would be dereferenced and the test would fail. We restore that relationship CG => GC Created attachment 394233 [details]
Patch for landing
Committed r258823: <https://trac.webkit.org/changeset/258823> All reviewed patches have been landed. Closing bug and clearing flags on attachment 394233 [details]. |