Revert "Bug 1977019 - re-enable hw video decoding testing. r=media-playback-reviewers,jolin" for causing win mda failures on test_hw_video_decoding.html
This reverts commit 158474bdc0cf585b701bc47921f0a7d84f7bb84d.
<!DOCTYPE html><html><head><metacharset="utf-8"><title>Animate using sibling iframe's timeline</title></head><body></body><scriptsrc="/common/get-host-info.sub.js"></script><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script><scripttype="text/javascript">'use strict';functioncrossSiteUrl(filename){consturl=get_host_info().HTTP_REMOTE_ORIGIN+'/web-animations/timing-model/timelines/resources/'+filename;returnurl;}functionloadFrame(name,path,hidden){returnnewPromise(resolve=>{constframe=document.createElement('iframe');if(hidden)frame.style='visibility: hidden;';frame.name=name;document.body.appendChild(frame);frame.onload=()=>{resolve();}frame.src=crossSiteUrl(path);});}functionwaitForTestResults(){returnnewPromise(resolve=>{constlistener=(evt)=>{window.removeEventListener('message',listener);resolve(evt.data);};window.addEventListener('message',listener);});}promise_test(asynct=>{constpromise=waitForTestResults().then((data)=>{assert_equals(data,'PASS');});// Animate an element in frame A.awaitloadFrame('a','target-frame.html',false);// Animation's timeline is in hidden frame B.awaitloadFrame('b','timeline-frame.html',true);returnpromise;},'animation tied to another frame\'s timeline runs properly');</script></html>