| background-color: silver; |
| <script src="../../../../resources/js-test-pre.js"></script> |
| testRunner.waitUntilDone(); |
| var iframe = document.querySelector('iframe'); |
| var node = iframe.contentDocument.createElement('div'); |
| node.className = 'container'; |
| node.addEventListener('touchstart', function() { }, false); |
| node.addEventListener('gesturestart', function() { }, false); |
| var contents = iframe.contentDocument.createElement('div'); |
| contents.className = 'contents'; |
| node.appendChild(contents); |
| iframe.contentDocument.body.appendChild(node); |
| iframe.contentDocument.body.offsetWidth; |
| document.body.appendChild(node); |
| document.body.offsetWidth; |
| window.setTimeout(removeFrameAndGC, 0) |
| function removeFrameAndGC() |
| var iframe = document.querySelector('iframe'); |
| window.addEventListener('load', doTest, false); |
| This test should not crash or assert. |
| background-color: silver; |