summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt
diff options
context:
space:
mode:
authorhabib.virji@samsung.com <habib.virji@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-08-08 02:14:30 +0000
committerhabib.virji@samsung.com <habib.virji@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-08-08 02:14:30 +0000
commit9125c544c562d2d1c4809e28400a02ddd260f591 (patch)
tree536bd202f0338b113014fe743efeecd306021772 /third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt
parent38850d54caac293a131a469e5ebe5c4fc17b3236 (diff)
downloadchromium_src-9125c544c562d2d1c4809e28400a02ddd260f591.zip
chromium_src-9125c544c562d2d1c4809e28400a02ddd260f591.tar.gz
chromium_src-9125c544c562d2d1c4809e28400a02ddd260f591.tar.bz2
Form submitted from JS should not submit double values
Jquery validation adds hidden element and removes it after JS submit handler. In blink, it was resulting in extra value being submitted. This patch reverts changes of r170520, r171008 and r169158. r169158, changes are not needed anymore due to formcreate called from scheduleformsubmission. r170520 and r171008 removed variable which control double form submission when from JS and normal submission. Also fixes the issue with bug357101, which CL170520 fixed, by keeping validateInteractive independent of m_isSubmittingOrInUserJSSubmitEvent variable. R=tkent, keishi BUG=378949 TEST=Check add remove element from inside user JS event handler, does not lead to double value submission. Review URL: https://codereview.chromium.org/449823003 git-svn-id: svn://svn.chromium.org/blink/trunk@179776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt
new file mode 100644
index 0000000..33e7900
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/submit-add-remove-element-expected.txt
@@ -0,0 +1,11 @@
+Test that form.submit() when submitted from JS, form element added and removed, should submit the form without added element
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS event.target.contentWindow.location.search is "?textData=b&submitform=Step"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+