| Summary: | [ Mac ] fast/animation/request-animation-frame-cancel2.html is flaky failing. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Lawrence <Lawrence.j> | ||||||||
| Component: | Animations | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | dino, graouts, graouts, sabouhallawa, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Mac | ||||||||||
| OS: | macOS 10.14 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Jason Lawrence
2020-03-24 13:28:39 PDT
I have marked this test as failing while this issue is investigated. https://trac.webkit.org/changeset/258935/webkit I can reproduce this issue with r258908 by running the command below. run-webkit-tests --iterations 888 --child-processes 50 --force -f fast/animation/request-animation-frame-cancel2.html -g 819 tests ran as expected, 69 didn't: Created attachment 398491 [details]
Patch
Comment on attachment 398491 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398491&action=review > LayoutTests/fast/animation/request-animation-frame-cancel2.html:10 > + var e = document.getElementById("e"); Technically you're redefining `e` here because `window.e` was already defined to be that element. It's kinda dirty, but that's the Web :) I'm not sure what is the use of this variable though, you seem to use it only as the second parameter to requestAnimationFrame() calls and that method only takes a single parameter. > LayoutTests/fast/animation/request-animation-frame-cancel2.html:16 > + window.requestAnimationFrame(function(timestamp) { You're mixing arrow-syntax and `function`, could you use a consistent style? > LayoutTests/fast/animation/request-animation-frame-cancel2.html:20 > + }, e); What is this second parameter to requestAnimationFrame? > LayoutTests/fast/animation/request-animation-frame-cancel2.html:29 > + }, e); What is this second parameter to requestAnimationFrame? > LayoutTests/fast/animation/request-animation-frame-cancel2.html:32 > + setTimeout(function() { > + resolve(); > + }, 100); setTimeout(resolve, 100); Created attachment 398522 [details]
Patch
Created attachment 398526 [details]
Patch
Committed r261186: <https://trac.webkit.org/changeset/261186> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398526 [details]. |