Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: LayoutTests/fast/dom/option-text-mutation-crash.html

Issue 9569046: Merge 109362 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script> 3 <script>
4 var count = 0; 4 var count = 0;
5 if (!window.layoutTestController) 5 if (!window.layoutTestController)
6 document.write("This test requires GCController."); 6 document.write("This test requires GCController.");
7 else { 7 else {
8 layoutTestController.dumpAsText(); 8 layoutTestController.dumpAsText();
9 layoutTestController.waitUntilDone(); 9 layoutTestController.waitUntilDone();
10 10
(...skipping 10 matching lines...) Expand all
21 setTimeout(function () { 21 setTimeout(function () {
22 document.write("<select><option>First Child</option></select>"); 22 document.write("<select><option>First Child</option></select>");
23 document.getElementsByTagName('option')[0].appendChild(document.createTe xtNode("Second Child")); 23 document.getElementsByTagName('option')[0].appendChild(document.createTe xtNode("Second Child"));
24 24
25 document.addEventListener('DOMNodeRemovedFromDocument', function () { cr ash(); }, true); 25 document.addEventListener('DOMNodeRemovedFromDocument', function () { cr ash(); }, true);
26 document.getElementsByTagName('option')[0].text = "New text"; 26 document.getElementsByTagName('option')[0].text = "New text";
27 }, 0); 27 }, 0);
28 } 28 }
29 </script> 29 </script>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698