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

Side by Side Diff: LayoutTests/fast/forms/form-submission-create-crash.xhtml

Issue 9369055: Merge 106771 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/form-submission-create-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 <html xmlns='http://www.w3.org/1999/xhtml'> 1 <html xmlns='http://www.w3.org/1999/xhtml'>
2 Test passes if it does not crash. 2 Test passes if it does not crash.
3 <form> 3 <form>
4 <input id="submit" type="submit" /> 4 <input id="submit" type="submit" />
5 </form> 5 </form>
6 <script> 6 <script>
7 if (window.layoutTestController) { 7 if (window.layoutTestController) {
8 layoutTestController.dumpAsText(); 8 layoutTestController.dumpAsText();
9 layoutTestController.waitUntilDone(); 9 layoutTestController.waitUntilDone();
10 } 10 }
11 11
12 textNode = document.createTextNode("x"); 12 textNode = document.createTextNode("x");
13 document.getElementById("submit").appendChild(textNode); 13 document.getElementById("submit").appendChild(textNode);
14 14
15 runTest = function() { 15 runTest = function() {
16 event = document.createEvent("MouseEvent"); 16 event = document.createEvent("MouseEvent");
17 event.initEvent("click"); 17 event.initEvent("click");
18 textNode.dispatchEvent(event); 18 textNode.dispatchEvent(event);
19 if (window.layoutTestController) 19 if (window.layoutTestController)
20 layoutTestController.notifyDone(); 20 layoutTestController.notifyDone();
21 } 21 }
22 22
23 setTimeout(runTest, 0); 23 setTimeout(runTest, 0);
24 </script> 24 </script>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/form-submission-create-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698