Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / smil-element-target-crash-main.html
blob661b361a18f77032edaf55e595ee4cc5653103e6
1 <!DOCTYPE html>
2 <html>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
9 function crash()
11 var doc = document.implementation.createDocument(null, "");
12 doc.adoptNode(object1.contentDocument.getElementsByTagName("svg")[0]);
13 delete doc;
15 if (window.GCController)
16 GCController.collect();
18 document.open();
19 document.write('PASS');
20 document.close();
22 if (window.testRunner)
23 testRunner.notifyDone();
26 function runTest()
28 setTimeout("crash()", 0);
30 </script>
31 <object data="resources/smil-element-target-crash.svg" id="object1" onload="runTest()"></object>
32 <iframe id="iframe1"></iframe>
33 </html>