Revert "Bug 1972411 - give gnome-shell and pipewire more time to start, and retry the task if we time out. r=jmaher" for causing linux perma failures
This reverts commit 2b905fe7199c9210434f7c7f8326b57025c91c55.
Revert "Bug 1972411 - make /builds/worker/fetches a volume in the test docker image. r=releng-reviewers,Eijebong"
This reverts commit 9d15aecaf6a08b98d3c47f2d0e644e35341b2520.
<!DOCTYPE html><htmlid="top"><metacharset="utf-8"><title>View timeline delay</title><linkrel="help"href="https://drafts.csswg.org/scroll-animations-1/#events"><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script><scriptsrc="/web-animations/testcommon.js"></script><style>#container{border:10pxsolidlightgray;overflow:auto;height:200px;width:200px;}.spacer{height:400px;}#target{background-color:green;height:100px;}</style><body><divid="container"><divclass="spacer"></div><divid="target"></div><divclass="spacer"></div></div></body><scripttype="text/javascript">constkeyframes={transform:['translateX(0)','translateX(100px)']};lettarget=document.getElementById('target');letscroller=document.querySelector('#container');lettimeline=newViewTimeline({subject:target});promise_test(asynct=>{letanimation=target.animate(keyframes,{timeline,fill:'both'});scroller.scrollTo({top:0});awaitwaitForCompositorReady();letfinishedPromise=animation.finished;letfinished=false;letfinishEvents=0;finishedPromise.then(()=>{finished=true;});animation.addEventListener('finish',()=>{finishEvents++;});scroller.scrollTo({top:100});awaitwaitForNextFrame();assert_false(finished,"Animation is not finished before starting");assert_equals(finishEvents,0,"No finish event before scrolling");scroller.scrollTo({top:400});awaitwaitForNextFrame();assert_false(finished,"Animation is not finished while active");assert_equals(finishEvents,0,"No finish event while active");scroller.scrollTo({top:600});awaitwaitForNextFrame();assert_true(finished,"Animation is finished after passing end");assert_equals(finishEvents,1,"A finish event is generated after end");scroller.scrollTo({top:400});awaitwaitForNextFrame();assert_not_equals(finishedPromise,animation.finished,"A new finish promise is created when back in active range");finished=false;animation.finished.then(()=>{finished=true;});scroller.scrollTo({top:600});awaitwaitForNextFrame();assert_true(finished,"Finishes after passing end");assert_equals(finishEvents,2,"Another finish event is generated after end");animation.cancel();},'View timeline generates and resolves finish promises and events');</script>