summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/aria-owns-destroyed-by-content-replacement.html
blob: b64ebaa6024f50f68249204d21b60b1a2109179b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html class="test-wait">
<script>
window.onload = function fuzz() {
  document.querySelector('audio').setAttribute('aria-owns', 'x1');
  requestAnimationFrame(() => {
    document.querySelector('audio').removeAttribute('aria-owns');
    document.documentElement.className = '';
  });
}
</script>
<audio>
  <span id="x1"></span>
</audio>
</html>