Test for bug 815477
authorSimon Montagu <smontagu@smontagu.org>
Sun, 16 Dec 2012 07:35:07 -0800
changeset 121766 3548adeeb1636fb93375195b05ef162414f44972
parent 121765 0804d5dc440396026da5d11397c225069d2c2146
child 121767 1392f08d100085ccc2e64953e050cf3bafea3f0b
push idunknown
push userunknown
push dateunknown
bugs815477
milestone20.0a1
Test for bug 815477
content/base/crashtests/815477.html
content/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/base/crashtests/815477.html
@@ -0,0 +1,15 @@
+<head dir=auto id=test1><ul id=test2>
+7. If no matching font face is within the "font-family" being processed by steps
+</ul>
+
+<h2 id=test3><p id=test5>* XHB7R%[+z^NvLp5	n$C
+<p id=test4>
+<script>
+var docElement = document.body;
+document.addEventListener("DOMContentLoaded", CFcrash, false);
+function CFcrash() {
+setTimeout('try { test5.appendChild(test4); } catch(e) {}', 50);
+try { test4.parentNode.removeChild(test4); test4 = test1; } catch(e) {}
+try { test4.insertBefore(test2, test4.firstChils); } catch(e) { }
+try { test2.textContent = test3.textContent; } catch(e) {}
+}</script>>
\ No newline at end of file
--- a/content/base/crashtests/crashtests.list
+++ b/content/base/crashtests/crashtests.list
@@ -111,10 +111,11 @@ load 715056.html
 load 741163-1.html
 load 766426.html
 load 771639.html
 load 752226-1.html
 load 752226-2.html
 HTTP(..) load xhr_abortinprogress.html
 load 786854.html
 load xhr_empty_datauri.html
+load 815477.html
 load 815500.html
 load 816253.html