Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / outerHTML-no-element.html
blob634c2c45f6dc04ff5dc12413777116bb02646733
1 <html>
2 <body>
3 <p>test for <a href="rdar://problem/4110775">4110775</a> Crash will occur when double-clicking outerHTML link on W3 DOM test</p>
4 <p>If the test fails, Safari may crash, or you may see a failure message below. If the test passes, you should see a message with a description of the expected exception.</p>
5 <div id="test">This test failed.</div>
7 <script type="text/javascript">
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 var t = document.getElementById("test");
11 var outerStr = "<div id='test2'>This test failed!</div>";
12 t.outerHTML = outerStr;
13 try {
14 t.outerHTML = "<div id='test2'>This test failed!!</div>"
15 }catch(e) {
16 document.getElementById("test2").outerHTML = "<div id='test2'>This test passed - expected error - " + e + "</div>";
18 </script>
20 </body>
21 </html>