| <script src="../resources/runner.js"></script> |
| var iframe = document.querySelector('iframe'); |
| if (!iframe.contentDocument.queryCommandSupported('Copy')) { |
| alert('execCommand("copy") is not supported.'); |
| PerfTestRunner.measureTime({ |
| document.querySelector('iframe').contentDocument.execCommand('SelectAll'); |
| document.querySelector('iframe').contentDocument.execCommand('Copy'); |
| document.querySelector('iframe').parentNode.removeChild(iframe); |
| <iframe src="../Parser/resources/html5.html" onload="startTest()" width="800" height="600"> |