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

Side by Side Diff: LayoutTests/fast/forms/past-names-crash.html

Issue 114783002: Merge 163680 "Fix a crash when a form control is in a past naems..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1700/
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/forms/past-names-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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <div id="container"> 5 <div id="container">
6 <table> 6 <table>
7 <form id="form1"> 7 <form id="form1">
8 <td> 8 <td>
9 <input name="q"/> 9 <input name="q"/>
10 <script> 10 <script>
11 jsTestIsAsync = true; 11 jsTestIsAsync = true;
12 var form1 = document.getElementById("form1"); 12 var form1 = document.getElementById("form1");
13 var container = document.getElementById("container"); 13 var container = document.getElementById("container");
14 form1['q']; 14 form1['q'];
15 container.innerHTML = ''; 15 container.innerHTML = '';
16 setTimeout(function() { 16 setTimeout(function() {
17 container.insertBefore(form1, null); 17 container.insertBefore(form1, null);
18 gc(); 18 gc();
19 container.innerHTML = 'PASS if not crashed.'; 19 container.innerHTML = 'PASS if not crashed.';
20 finishJSTest(); 20 finishJSTest();
21 }, 0); 21 }, 0);
22 </script> 22 </script>
23 </td> 23 </td>
24 </form> 24 </form>
25 </table> 25 </table>
26 </div> 26 </div>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/past-names-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698