OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 if (window.testRunner) | 3 if (window.testRunner) |
4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
5 | 5 |
6 var mfenced = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mfenced"); | 6 var mfenced = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mfenced"); |
7 | 7 |
8 var docElt = document.documentElement; | 8 var docElt = document.documentElement; |
9 docElt.parentNode.removeChild(docElt); | 9 docElt.parentNode.removeChild(docElt); |
10 | 10 |
11 document.appendChild(mfenced); | 11 document.appendChild(mfenced); |
12 | 12 |
13 var e = document.createElement("div"); | 13 var e = document.createElement("div"); |
14 e.innerHTML = "<a href='https://bugs.webkit.org/show_bug.cgi?id=100764'>Bug
100764</a>: Heap-use-after-free in WebCore::RenderLayer::paintList [MathML]<br>T
his test passes if it does not crash."; | 14 e.innerHTML = "<a href='https://bugs.webkit.org/show_bug.cgi?id=100764'>Bug
100764</a>: Heap-use-after-free in WebCore::RenderLayer::paintList [MathML]<br>T
his test passes if it does not crash."; |
15 mfenced.appendChild(e); | 15 mfenced.appendChild(e); |
16 </script> | 16 </script> |
OLD | NEW |