Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / constructor-in-removed-frame.html
blob9e11dffc98a837e39dd50317335ad0ce602f7dfa
1 <!DOCTYPE html>
2 <p>FAIL</p>
3 <iframe src="data:text/html,FAIL"></iframe>
4 <script>
6 window.onload = function() {
7 if (window.testRunner) {
8 testRunner.waitUntilDone();
9 testRunner.dumpAsText();
11 var iframeElement = document.querySelector('iframe');
12 iframeElement.onload = function() {
13 var frame = window.frames[0];
14 iframeElement.parentNode.removeChild(iframeElement);
16 // The V8 bindings does not keep the frame constructor alive but at least it should not crash!
17 frame.Window;
19 document.body.textContent = 'PASS';
20 testRunner.notifyDone();
22 iframeElement.src = 'data:text/html,PASS';
26 </script>
27 </body>
28 </html>