10 if (window.internals) {
11 internals.settings.setAcceleratedCompositingForVideoEnabled(true);
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 testRunner.waitUntilDone();
19 setTimeout('addRounded()', 200);
21 function addRounded() {
22 theVideo.classList.add('rounded');
23 theVideo.src = "empty_file";
24 setTimeout(function() {
25 document.getElementById('description').innerText += ' - PASS';
26 if (window.testRunner)
27 testRunner.notifyDone();
33 <div id="description">This sometimes causes a crash</div>
34 <video id="theVideo" src='../../media/resources/frame_size_change.webm' oncanplaythrough='canPlay();'></video>