1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18

content / test / data / accessibility / html / iframe-srcdoc-changed.html [blame]

<!--
@WIN-ALLOW:ia2_hypertext=*
@WAIT-FOR:done
-->
<body>
</body>
<script>
  const iframe = document.createElement('iframe');
  iframe.onload = () => {
    iframe.onload = () => {
      setTimeout(() => { document.title = 'done' }, 99);
    };
    iframe.srcdoc = '';
  };
  iframe.srcdoc = '<a href="/">link inside iframe</a>';
  document.body.appendChild(iframe);
</script>