| <!DOCTYPE html> |
| <body> |
| <p>This test passes if it doesn't crash.</p> |
| <script> |
| function addFrame() { |
| const iframe = document.createElement('iframe'); |
| document.body.appendChild(iframe); |
| iframe.contentDocument.open(); |
| iframe.contentDocument.write(`data:text/html,<style>* { -webkit-clip-path: url(#clipPath); }</style> |
| <picture><select></select><svg><clipPath id="clipPath">`); |
| iframe.contentDocument.close(); |
| } |
| |
| window?.testRunner?.dumpAsText(); |
| window?.testRunner?.waitUntilDone(); |
| |
| for (let i = 0; i < 50; ++i) |
| addFrame(); |
| onload = () => { |
| requestAnimationFrame(() => { |
| window?.testRunner?.notifyDone(); |
| }) |
| } |
| </script> |