Title: [168444] branches/safari-537.76-branch/LayoutTests
Revision 168444
Author matthew_han...@apple.com
Date 2014-05-07 15:00:10 -0700 (Wed, 07 May 2014)
Log Message
Add layout tests that were not merged with r168098.
Modified Paths
branches/safari-537.76-branch/LayoutTests/ChangeLog
Added Paths
branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2-expected.txt
branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2.html
branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-expected.txt
branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash.html
Diff
Modified: branches/safari-537.76-branch/LayoutTests/ChangeLog (168443 => 168444)
--- branches/safari-537.76-branch/LayoutTests/ChangeLog 2014-05-07 22:00:10 UTC (rev 168443)
+++ branches/safari-537.76-branch/LayoutTests/ChangeLog 2014-05-07 22:00:10 UTC (rev 168444)
@@ -1,3 +1,12 @@
+2014-05-07 Matthew Hanson
+
+Add layout tests that were not merged with r168098.
+
+* fast/forms/form-submission-crash-2-expected.txt: Added.
+* fast/forms/form-submission-crash-2.html: Added.
+* fast/forms/form-submission-crash-expected.txt: Added.
+* fast/forms/form-submission-crash.html: Added.
+
2014-05-07 Lucas Forschler
Rollout r168104
Added: branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2-expected.txt (0 => 168444)
--- branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2-expected.txt (rev 0)
+++ branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2-expected.txt 2014-05-07 22:00:10 UTC (rev 168444)
@@ -0,0 +1,4 @@
+PASS if not crashed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
Added: branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2.html (0 => 168444)
--- branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2.html (rev 0)
+++ branches/safari-537.76-branch/LayoutTests/fast/forms/form-submission-crash-2.html 2014-05-07 22:00:10 UTC (rev 168444)
@@ -0,0 +1,30 @@
+
+
+
+jsTestIsAsync = true;
+var form1;
+var submit1;
+
+function start() {
+form1 = document.createElement('form');
+submit1 = document.createElement('input');
+submit1.type = 'submit';
+form1.action = '';
+form1.appendChild(submit1);
+setTimeout(function() {
+submit1.click();
+testPassed('if not crashed.');
+finishJSTest();
+}, 0);
+}
+
+function crash() {
+form1.removeChild(submit1);
+form1 = null;
+gc();
+}
+window._onload_ = start;
+
+
\ No newline at end of file