Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/dom/insertAdjacentHTML-DocumentFragment-crash.html

Issue 9250020: Merge 104441 - insertAdjacentHTML doesn't play nice with DocumentFragment (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | LayoutTests/fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test passes if it doesn't crash (or ASSERT). 1 This test passes if it doesn't crash (or ASSERT).
2 <script> 2 <script>
3 if (window.layoutTestController) 3 if (window.layoutTestController)
4 layoutTestController.dumpAsText(); 4 layoutTestController.dumpAsText();
5 5
6 var f = document.createDocumentFragment(); 6 var f = document.createDocumentFragment();
7 var s = document.createElement('div'); 7 var s = document.createElement('div');
8 f.appendChild(s); 8 f.appendChild(s);
9 s.insertAdjacentHTML('afterend', "aaa"); 9 s.insertAdjacentHTML('afterend', "aaa");
10 </script> 10 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine