2 Test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=26671">https://bugs.webkit.org/show_bug.cgi?id=
26671</a>
3 Safari
4.0 crashes in WebCore::DOMTimer::fired()
</i>.
6 This tests that removing a possibly style sheet-carrying element from an
7 unrendered document does not leave behind a reference to a stale object and
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 var otherDocument
= document
.implementation
.createHTMLDocument();
15 otherDocument
.documentElement
.innerHTML
= "<link>";
16 otherDocument
.documentElement
.innerHTML
= "";
17 otherDocument
.documentElement
.appendChild(otherDocument
.createElement("head")).appendChild(otherDocument
.createElement("style"));